geneve: Remove socket and offload handlers at destruction.
authorJesse Gross <jesse@nicira.com>
Wed, 17 Dec 2014 02:25:31 +0000 (18:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Dec 2014 17:38:13 +0000 (12:38 -0500)
commit7ed767f73192d6daf673c6d885cd02d5f280ac1f
tree9a696eea294b8a81e50068490de6a97412c68b33
parenta18e6a186f53af06937a2c268c72443336f4ab56
geneve: Remove socket and offload handlers at destruction.

Sockets aren't currently removed from the the global list when
they are destroyed. In addition, offload handlers need to be cleaned
up as well.

Fixes: 0b5e8b8e ("net: Add Geneve tunneling protocol driver")
CC: Andy Zhou <azhou@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/geneve.c