OSDN Git Service

Merge branch 'net-dev-tracking-improvements'
authorDavid S. Miller <davem@davemloft.net>
Sat, 5 Feb 2022 15:22:45 +0000 (15:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Feb 2022 15:22:45 +0000 (15:22 +0000)
Eric Dumazet says:

====================
net: device tracking improvements

Main goal of this series is to be able to detect the following case
which apparently is still haunting us.

dev_hold_track(dev, tracker_1, GFP_ATOMIC);
    dev_hold(dev);
    dev_put(dev);
    dev_put(dev);              // Should complain loudly here.
dev_put_track(dev, tracker_1); // instead of here (as before this series)

v2: third patch:
  I replaced the dev_put() in linkwatch_do_dev() with __dev_put().
====================

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

Trivial merge