summaryrefslogtreecommitdiffstats
path: root/net/sctp/ipv6.c
diff options
context:
space:
mode:
authorGao feng2013-06-13 04:05:38 +0200
committerDavid S. Miller2013-06-13 09:45:48 +0200
commitca15febfe98f7c681ac345fc1d2ee1b8decaa493 (patch)
treea4a0e2abd432397ccca05b1e5144055cd6479649 /net/sctp/ipv6.c
parentnet: add doc for ip_early_demux sysctl (diff)
downloadkernel-qcow2-linux-ca15febfe98f7c681ac345fc1d2ee1b8decaa493.tar.gz
kernel-qcow2-linux-ca15febfe98f7c681ac345fc1d2ee1b8decaa493.tar.xz
kernel-qcow2-linux-ca15febfe98f7c681ac345fc1d2ee1b8decaa493.zip
netlink: make compare exist all the time
Commit da12c90e099789a63073fc82a19542ce54d4efb9 "netlink: Add compare function for netlink_table" only set compare at the time we create kernel netlink, and reset compare to NULL at the time we finially release netlink socket, but netlink_lookup wants the compare exist always. So we should set compare after we allocate nl_table, and never reset it. make comapre exist all the time. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ipv6.c')
0 files changed, 0 insertions, 0 deletions