diff options
author | Mathias Krause <minipli@googlemail.com> | 2016-11-07 22:22:19 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-10 01:18:19 (GMT) |
commit | f567e950bf51290755a2539ff2aaef4c26f735d3 (patch) | |
tree | 1e1561944b988201162ec32c3541b26c906fad3c /net/netfilter/nft_set_hash.c | |
parent | 4053ab1bf98dd128344b9e67ef139f931a967ae1 (diff) | |
download | linux-f567e950bf51290755a2539ff2aaef4c26f735d3.tar.xz |
rtnl: reset calcit fptr in rtnl_unregister()
To avoid having dangling function pointers left behind, reset calcit in
rtnl_unregister(), too.
This is no issue so far, as only the rtnl core registers a netlink
handler with a calcit hook which won't be unregistered, but may become
one if new code makes use of the calcit hook.
Fixes: c7ac8679bec9 ("rtnetlink: Compute and store minimum ifinfo...")
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nft_set_hash.c')
0 files changed, 0 insertions, 0 deletions