Re: [PATCH] netlink: make compare exist all the time

2013-06-13 Thread David Miller
From: Gao feng Date: Thu, 13 Jun 2013 10:05:38 +0800 > 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 net

[PATCH] netlink: make compare exist all the time

2013-06-12 Thread Gao feng
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 com