diff options
author | Romain KUNTZ <r.kuntz@ipflavors.com> | 2013-02-18 02:36:24 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-18 19:57:29 (GMT) |
commit | 18cf0d0784b4a634472ed24d0d7ca1c721d93e90 (patch) | |
tree | 0b7591c785c66a99273fd7b9ec45b05defe17cd4 /kernel | |
parent | dca9ab9274ab1b01fa2a78d5b82e9d1ea8c22b39 (diff) | |
download | linux-18cf0d0784b4a634472ed24d0d7ca1c721d93e90.tar.xz |
xfrm: release neighbor upon dst destruction
Neighbor is cloned in xfrm6_fill_dst but seems to never be released.
Neighbor entry should be released when XFRM6 dst entry is destroyed
in xfrm6_dst_destroy, otherwise references may be kept forever on
the device pointed by the neighbor entry.
I may not have understood all the subtleties of XFRM & dst so I would
be happy to receive comments on this patch.
Signed-off-by: Romain Kuntz <r.kuntz@ipflavors.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions