Merge branch 'skb_list_cleanups'
authorDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2018 17:07:01 +0000 (10:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2018 17:07:01 +0000 (10:07 -0700)
commitfd2b803fa8ef3dd4b6c6a71d5f33bac7ccd76d18
tree6b0444e2e358c0e9f55d4e4ffdbd7263a94f1f09
parent0153167aebd0808fb90031dba07d4e696557474c
parent8b9db0d0aa3e7fccc4317f6dd5dfbca97bb22009
Merge branch 'skb_list_cleanups'

David Miller says:

====================
SKB list handling cleanups

This is a preparatory patch series which cleans up various forms of
sloppy SKB list handling, and makes certain semantics explicit.

We are trying to eliminate code that directly accesses the SKB
list and SKB queue head next/prev members in any way.  It is
impossible to convert SKB queue head over the struct list_head
while such code exists.

This patch series does not eliminate all such code, only the simplest
cases.  A latter series will tackle the complicated ones.

A helper is added to make the "skb->next == NULL means not on a list"
rule explicit, and another is added to combine this with list_del().
====================

Signed-off-by: David S. Miller <davem@davemloft.net>