diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-07-17 21:04:02 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-10-30 11:11:37 +0100 |
commit | 8def0be82dd1507bcdc5fd35d12e35ace1e39dff (patch) | |
tree | 4ac45f4e1d2e822e867c2243133088343f5f01c6 /net/batman-adv/tvlv.c | |
parent | batman-adv: Count all non-success TX packets as dropped (diff) | |
download | linux-8def0be82dd1507bcdc5fd35d12e35ace1e39dff.tar.xz linux-8def0be82dd1507bcdc5fd35d12e35ace1e39dff.zip |
batman-adv: Consume skb in batadv_frag_send_packet
Sending functions in Linux consume the supplied skbuff. Doing the same in
batadv_frag_send_packet avoids the hack of returning -1 (-EPERM) to signal
the caller that he is responsible for cleaning up the skb.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/tvlv.c')
0 files changed, 0 insertions, 0 deletions