Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: do not take an additional reference in skb_frag_set_page
I audited all of the callers in the tree and only one of them (pktgen) expects it to do so. Taking this reference is pretty obviously confusing and error prone. In particular I looked at the following commits which switched callers of (__)skb_frag_set_page to the skb paged fragment api: 6a930b9 cxgb3: convert to SKB paged frag API. 5dc3e19 myri10ge: convert to SKB paged frag API. 0e0634d vmxnet3: convert to SKB paged frag API. 86ee813 virtionet: convert to SKB paged frag API. 4a22c4c sfc: convert to SKB paged frag API. 18324d6 cassini: convert to SKB paged frag API. b061b39 benet: convert to SKB paged frag API. b7b6a68 bnx2: convert to SKB paged frag API. 804cf14 net: xfrm: convert to SKB frag APIs ea2ab69 net: convert core to skb paged frag APIs Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information