Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
commit 22a739378eda3a1b7a5dd35dbba574f9f9953c5d Author: Gao Feng gfree.wind@vip.163.com Date: Wed Sep 27 22:27:13 2017 +0200
batman-adv: Remove useless function skb_header_release
There is no one which would invokes the function skb_header_release. So just remove it now.
Signed-off-by: Gao Feng gfree.wind@vip.163.com Signed-off-by: David S. Miller davem@davemloft.net Signed-off-by: Sven Eckelmann sven@narfation.org Signed-off-by: Simon Wunderlich sw@simonwunderlich.de
22a739378eda3a1b7a5dd35dbba574f9f9953c5d net/batman-adv/soft-interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c index 1f8af19a..7c828824 100644 --- a/net/batman-adv/soft-interface.c +++ b/net/batman-adv/soft-interface.c @@ -69,7 +69,7 @@ int batadv_skb_head_push(struct sk_buff *skb, unsigned int len) int result;
/* TODO: We must check if we can release all references to non-payload - * data using skb_header_release in our skbs to allow skb_cow_header to + * data using __skb_header_release in our skbs to allow skb_cow_header to * work optimally. This means that those skbs are not allowed to read * or write any data which is before the current position of skb->data * after that call and thus allow other skbs with the same data buffer