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