mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
batman-adv: Count all non-success TX packets as dropped
A failure during the submission also causes dropped packets. batadv_interface_tx should therefore also increase the DROPPED counter for these returns. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
This commit is contained in:
parent
bd687fe419
commit
eaac2c876e
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ send:
|
|||
ret = batadv_send_skb_via_tt(bat_priv, skb, dst_hint,
|
||||
vid);
|
||||
}
|
||||
if (ret == NET_XMIT_DROP)
|
||||
if (ret != NET_XMIT_SUCCESS)
|
||||
goto dropped_freed;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue