ipv6: delete protocol and unregister rtnetlink when cleanup
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Wed, 19 Nov 2014 01:35:39 +0000 (09:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Nov 2014 21:56:17 +0000 (16:56 -0500)
commitffb1388a364d135810337182d6800a0c7ee44f48
tree84886bfc3c910d2040274f4cd8cfca470f2bac64
parentddecab1abc97b45168599a52c334a7f9910d5a5a
ipv6: delete protocol and unregister rtnetlink when cleanup

pim6_protocol was added when initiation, but it not deleted.
Similarly, unregister RTNL_FAMILY_IP6MR rtnetlink.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Reviewed-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6mr.c