From: Gao feng Date: Thu, 13 Jun 2013 02:05:38 +0000 (+0800) Subject: netlink: make compare exist all the time X-Git-Tag: v3.11-rc1~16^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca15febfe98f7c681ac345fc1d2ee1b8decaa493;p=pandora-kernel.git 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 Signed-off-by: Gao feng Signed-off-by: David S. Miller --- Reading git-diff-tree failed