summaryrefslogtreecommitdiff
BranchCommit messageAuthorAge
masterUpdate Standards-Version and debhelper compatibilityTobias Klauser12 years
 
TagDownloadAuthorAge
0.1-3commit 5a697e3dd2...Tobias Klauser14 years
0.1-2commit 1bbc31344e...Tobias Klauser15 years
n>space:mode:
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>2016-12-07 14:52:53 +0800
committerDavid S. Miller <davem@davemloft.net>2016-12-08 11:24:23 -0500
commitf91c58d68b8638530e0eb2fec76c5b9e429ca39a (patch)
tree4be17facb53f59cb38c6a20a330e0fe42bf0e121 /net
parent5fccd64aa44829f87997e3342698ef98862adffd (diff)
icmp: correct return value of icmp_rcv()
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@cmss.chinamobile.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
Wang <jiada_wang@mentor.com> Acked-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')