net: Rename skb_has_frags to skb_has_frag_list
SKBs can be "fragmented" in two ways, via a page array (called
skb_shinfo(skb)->frags[]) and via a list of SKBs (called
skb_shinfo(skb)->frag_list).
Since skb_has_frags() tests the latter, it's name is confusing
since it sounds more like it's testing the former.
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/netdevice.h 1 addition, 1 deletioninclude/linux/netdevice.h
- include/linux/skbuff.h 2 additions, 2 deletionsinclude/linux/skbuff.h
- net/core/dev.c 2 additions, 2 deletionsnet/core/dev.c
- net/core/skbuff.c 9 additions, 9 deletionsnet/core/skbuff.c
- net/ipv4/ip_fragment.c 1 addition, 1 deletionnet/ipv4/ip_fragment.c
- net/ipv4/ip_output.c 1 addition, 1 deletionnet/ipv4/ip_output.c
- net/ipv6/ip6_output.c 1 addition, 1 deletionnet/ipv6/ip6_output.c
- net/ipv6/netfilter/nf_conntrack_reasm.c 1 addition, 1 deletionnet/ipv6/netfilter/nf_conntrack_reasm.c
- net/ipv6/reassembly.c 1 addition, 1 deletionnet/ipv6/reassembly.c
Loading
Please register or sign in to comment