diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2011-03-08 22:44:08 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-09 11:59:30 -0800 |
commit | 0ebbf318635bf354bdb046419dd10e9a00667f37 (patch) | |
tree | 5402abfa37ae43751975f62107f5c3e53e697f46 /net/phonet/socket.c | |
parent | b765e84f96f728e8e178348fc102f126c1736193 (diff) | |
download | linux-0ebbf318635bf354bdb046419dd10e9a00667f37.tar.gz linux-0ebbf318635bf354bdb046419dd10e9a00667f37.tar.bz2 linux-0ebbf318635bf354bdb046419dd10e9a00667f37.zip |
Phonet: correct pipe backlog callback return values
In some cases, the Phonet pipe backlog callbacks returned negative
errno instead of NET_RX_* values.
In other cases, NET_RX_DROP was returned for invalid packets, even
though it seems only intended for buffering problems (not for
deliberately discarded packets).
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/phonet/socket.c')
0 files changed, 0 insertions, 0 deletions