net: Add and use skb_list_del_init().
authorDavid S. Miller <davem@davemloft.net>
Tue, 31 Jul 2018 22:27:56 +0000 (15:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2018 17:06:54 +0000 (10:06 -0700)
commit992cba7e276d438ac8b0a8c17b147b37c8c286f7
tree50aaa7b0231a83b7b58ad60c4da88d9905b89b0e
parenta8305bff685252e80b7c60f4f5e7dd2e63e38218
net: Add and use skb_list_del_init().

It documents what is happening, and eliminates the spurious list
pointer poisoning.

In the long term, in order to get proper list head debugging, we
might want to use the list poison value as the indicator that
an SKB is a singleton and not on a list.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/dev.c
net/ipv4/ip_input.c