diff options
author | Hans Schillstrom <hans.schillstrom@ericsson.com> | 2011-06-13 09:06:57 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-06-13 17:41:47 +0900 |
commit | 8f4e0a18682d91abfad72ede3d3cb5f3ebdf54b4 (patch) | |
tree | b2b5ec39519bbf6416ae021f108739290e565b50 /net/sunrpc/socklib.c | |
parent | d232b8dded624af3e346b13807a591c63b601c44 (diff) | |
download | op-kernel-dev-8f4e0a18682d91abfad72ede3d3cb5f3ebdf54b4.zip op-kernel-dev-8f4e0a18682d91abfad72ede3d3cb5f3ebdf54b4.tar.gz |
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 'net/sunrpc/socklib.c')
0 files changed, 0 insertions, 0 deletions