Skip to contentSkip to conversation

batman-adv: Remove useless function skb_header_release

PATCH New Sven Eckelmann 1 participant 1 message Sep 27, 2017 Batman advanced

lore
Share & tools
lore

Sven Eckelmann

author maintainer
#0 lore raw

PATCH 1/1 batman-adv: Remove useless function skb_header_release

From: Gao Feng <[email protected]>

There is no one which would invokes the function skb_header_release. So just remove it now.

---
This patch was already accepted by David and should be applied directly after the release of batman-adv 2017.3. And yes, I know that this line is too long now

 net/batman-adv/soft-interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/batman-adv/soft-interface.c +1 -1
index 10f7edfb..c2c98674 100644
@@ -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
Signature · 1 line
2.11.0