diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-07-17 21:04:03 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-10-30 11:11:37 +0100 |
commit | 1ad5bcb2a032262170fdc508abfa0acb0565e2b5 (patch) | |
tree | 4c5e313c22aa50eddf909ebf7974ec3c32670dc8 /.cocciconfig | |
parent | batman-adv: Consume skb in batadv_frag_send_packet (diff) | |
download | linux-1ad5bcb2a032262170fdc508abfa0acb0565e2b5.tar.xz linux-1ad5bcb2a032262170fdc508abfa0acb0565e2b5.zip |
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 '.cocciconfig')
0 files changed, 0 insertions, 0 deletions