[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <kl83nr$8t3$1@ger.gmane.org>
Date: Wed, 24 Apr 2013 08:05:15 +0000 (UTC)
From: Cong Wang <xiyou.wangcong@...il.com>
To: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 5/5] sock_diag: notify when filter change
On Tue, 23 Apr 2013 at 14:27 GMT, Nicolas Dichtel <nicolas.dichtel@...nd.com> wrote:
> @@ -773,6 +775,7 @@ int sk_detach_filter(struct sock *sk)
> RCU_INIT_POINTER(sk->sk_filter, NULL);
> sk_filter_uncharge(sk, filter);
> ret = 0;
> + sock_diag_notify(sk, 1);
Should be sock_diag_notify(sk, 0)?
BTW, use 'true' and 'false' instead of '1' and '0'.
--
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