diff options
author | Hans Schillstrom <hans.schillstrom@ericsson.com> | 2011-06-13 07:06:57 (GMT) |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-06-13 08:41:47 (GMT) |
commit | 8f4e0a18682d91abfad72ede3d3cb5f3ebdf54b4 (patch) | |
tree | b2b5ec39519bbf6416ae021f108739290e565b50 /lib/bitrev.c | |
parent | d232b8dded624af3e346b13807a591c63b601c44 (diff) | |
download | linux-fsl-qoriq-8f4e0a18682d91abfad72ede3d3cb5f3ebdf54b4.tar.xz |
IPVS netns exit causes crash in conntrack
Quote from Patric Mc Hardy
"This looks like nfnetlink.c excited and destroyed the nfnl socket, but
ip_vs was still holding a reference to a conntrack. When the conntrack
got destroyed it created a ctnetlink event, causing an oops in
netlink_has_listeners when trying to use the destroyed nfnetlink
socket."
If nf_conntrack_netlink is loaded before ip_vs this is not a problem.
This patch simply avoids calling ip_vs_conn_drop_conntrack()
when netns is dying as suggested by Julian.
Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions