]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd221491209c222c6dab43649dcc60077e4911c13
tree6b0444e2e358c0e9f55d4e4ffdbd7263a94f1f09
parenta4abe4b0e6e5195b68dd0995f94e10248346d12a
parentda99de1d13622995249b17708f95b933649ecc0f
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>