[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161208.112453.569765817704988921.davem@davemloft.net>
Date: Thu, 08 Dec 2016 11:24:53 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: zhangshengju@...s.chinamobile.com
Cc: netdev@...r.kernel.org
Subject: Re: [net-next] icmp: correct return value of icmp_rcv()
From: Zhang Shengju <zhangshengju@...s.chinamobile.com>
Date: Wed, 7 Dec 2016 14:52:53 +0800
> Currently, icmp_rcv() always return zero on a packet delivery upcall.
>
> To make its behavior more compliant with the way this API should be
> used, this patch changes this to let it return NET_RX_SUCCESS when the
> packet is proper handled, and NET_RX_DROP otherwise.
>
> Signed-off-by: Zhang Shengju <zhangshengju@...s.chinamobile.com>
Applied.
Powered by blists - more mailing lists