]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1c550975587c5ccbb5699d907de2c43ff6e38c0
tree3f8f073a642ad27c0921917e3b9e1622b9956478
parent7e0a828d155cc53b9d8a815afa94fa210a2c7b70
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