[PATCH 11/17] batman-adv: Consume skb in batadv_frag_send_packet

2016-11-09 Thread Simon Wunderlich
From: Sven Eckelmann 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

[PATCH 11/17] batman-adv: Consume skb in batadv_frag_send_packet

2016-11-08 Thread Simon Wunderlich
From: Sven Eckelmann 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