From: Zhang Shengju <zhangshen...@cmss.chinamobile.com> Date: Fri, 4 Mar 2016 14:07:54 +0000
> Currently, arp_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. > > v1->v2: > If sanity check is failed, call kfree_skb() instead of consume_skb(), then > return the correct return value. > > Signed-off-by: Zhang Shengju <zhangshen...@cmss.chinamobile.com> Applied, thanks.