net: Add and use skb_mark_not_on_list().
authorDavid S. Miller <davem@davemloft.net>
Mon, 30 Jul 2018 03:42:53 +0000 (20:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2018 17:06:54 +0000 (10:06 -0700)
commita8305bff685252e80b7c60f4f5e7dd2e63e38218
tree3f8f073a642ad27c0921917e3b9e1622b9956478
parent776f07ee303a5e13970cbfaed767e28cbab4002f
net: Add and use skb_mark_not_on_list().

An SKB is not on a list if skb->next is NULL.

Codify this convention into a helper function and use it
where we are dequeueing an SKB and need to mark it as such.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 files changed:
include/linux/skbuff.h
net/core/dev.c
net/core/sock.c
net/ieee802154/6lowpan/reassembly.c
net/ipv4/ip_fragment.c
net/ipv4/ip_input.c
net/ipv4/ip_output.c
net/ipv6/ip6_output.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/reassembly.c
net/netfilter/nfnetlink_queue.c
net/rxrpc/input.c
net/sched/sch_cake.c
net/sched/sch_fq.c
net/sched/sch_fq_codel.c
net/sched/sch_generic.c
net/sched/sch_hhf.c
net/sched/sch_netem.c
net/sched/sch_tbf.c
net/tipc/bearer.c
net/xfrm/xfrm_device.c
net/xfrm/xfrm_output.c