Files
linux/net/ipv4
Kirill Tkhai 273c28bc57 net: Convert atomic_t net::count to refcount_t
Since net could be obtained from RCU lists,
and there is a race with net destruction,
the patch converts net::count to refcount_t.

This provides sanity checks for the cases of
incrementing counter of already dead net,
when maybe_get_net() has to used instead
of get_net().

Drivers: allyesconfig and allmodconfig are OK.

Suggested-by: Eric Dumazet <[email protected]>
Signed-off-by: Kirill Tkhai <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2018-01-15 14:23:42 -05:00
..
2017-10-18 14:10:29 +01:00
2017-10-21 01:33:19 +01:00
2017-12-26 17:30:11 -05:00
…
2017-10-12 22:57:11 -07:00
2018-01-02 14:27:29 -05:00
2017-11-11 18:53:16 +09:00
2017-10-16 21:24:25 +01:00
…
…