On Thu, 2017-09-21 at 12:39 +0800, gfree.w...@vip.163.com wrote: > From: Gao Feng <gfree.w...@vip.163.com> > > There is no one which would invokes the function skb_header_release. > So just remove it now.
This in incomplete. There are other references to this function. $ git grep -w skb_header_release drivers/net/usb/asix_common.c: * TCP packets for example are cloned, but skb_header_release() include/linux/skbuff.h: * skb_header_release - release reference to header include/linux/skbuff.h:static inline void skb_header_release(struct sk_buff *skb) include/linux/skbuff.h: * Variant of skb_header_release() assuming skb is private to caller. net/batman-adv/soft-interface.c: * data using skb_header_release in our skbs to allow skb_cow_header to