OSDN Git Service

batman-adv: Remove dev_queue_xmit return code exception
authorSven Eckelmann <sven@narfation.org>
Sun, 17 Jul 2016 19:04:05 +0000 (21:04 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 8 Nov 2016 18:02:34 +0000 (19:02 +0100)
commit7d72d174c7b6e3641bf13d1816f672051f6480b4
tree485c72b58b1f82389cb10a5fa779b6d164927b0c
parentb91a2543b4c15fed504e587d4441169c75d6646e
batman-adv: Remove dev_queue_xmit return code exception

No caller of batadv_send_skb_to_orig is expecting the results to be -1
(-EPERM) anymore when the skbuff was not consumed. They will instead expect
that the skbuff is always consumed. Having such return code filter is
therefore not needed anymore.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/send.c