OSDN Git Service

Merge branch 'net-driver-refcont_t'
authorDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 01:22:40 +0000 (02:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 01:22:40 +0000 (02:22 +0100)
Elena Reshetova says:

====================
networking drivers refcount_t conversions

Note: these are the last patches related to networking that perform
conversion of refcounters from atomic_t to refcount_t.
In contrast to the core network refcounter conversions that
were merged earlier, these are much more straightforward ones.

This series, for various networking drivers, replaces atomic_t reference
counters with the new refcount_t type and API (see include/linux/refcount.h).
By doing this we prevent intentional or accidental
underflows or overflows that can led to use-after-free vulnerabilities.

The patches are fully independent and can be cherry-picked separately.
Patches are based on top of net-next.
If there are no objections to the patches, please merge them via respective trees
====================

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

Trivial merge