commit | 1ad5bcb2a032262170fdc508abfa0acb0565e2b5 | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven@narfation.org> | Sun Jul 17 21:04:03 2016 +0200 |
committer | Simon Wunderlich <sw@simonwunderlich.de> | Sun Oct 30 11:11:37 2016 +0100 |
tree | 4c5e313c22aa50eddf909ebf7974ec3c32670dc8 | |
parent | 8def0be82dd1507bcdc5fd35d12e35ace1e39dff [diff] |
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>