[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130613.004607.546745883080814853.davem@davemloft.net>
Date: Thu, 13 Jun 2013 00:46:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gaofeng@...fujitsu.com
Cc: fengguang.wu@...el.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] netlink: make compare exist all the time
From: Gao feng <gaofeng@...fujitsu.com>
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 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@...el.com>
> Signed-off-by: Gao feng <gaofeng@...fujitsu.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists