aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/batman-adv/routing.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2016-07-17 21:04:02 +0200
committerSimon Wunderlich <sw@simonwunderlich.de>2016-10-30 11:11:37 +0100
commit8def0be82dd1507bcdc5fd35d12e35ace1e39dff (patch)
tree4ac45f4e1d2e822e867c2243133088343f5f01c6 /net/batman-adv/routing.c
parentbatman-adv: Count all non-success TX packets as dropped (diff)
downloadwireguard-linux-8def0be82dd1507bcdc5fd35d12e35ace1e39dff.tar.xz
wireguard-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/routing.c')
0 files changed, 0 insertions, 0 deletions