diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-07-17 22:04:03 +0300 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-10-30 13:11:37 +0300 |
commit | 1ad5bcb2a032262170fdc508abfa0acb0565e2b5 (patch) | |
tree | 4c5e313c22aa50eddf909ebf7974ec3c32670dc8 /net/batman-adv/main.c | |
parent | 8def0be82dd1507bcdc5fd35d12e35ace1e39dff (diff) | |
download | linux-1ad5bcb2a032262170fdc508abfa0acb0565e2b5.tar.xz |
batman-adv: Consume skb in batadv_send_skb_to_orig
Sending functions in Linux consume the supplied skbuff. Doing the same in
batadv_send_skb_to_orig 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/main.c')
0 files changed, 0 insertions, 0 deletions