Eric Dumazet db5bce32fb net: prepare (struct ubuf_info)->refcnt conversion
In order to convert this atomic_t refcnt to refcount_t,
we need to init the refcount to one to not trigger
a 0 -> 1 transition.

This also removes one atomic operation in fast path.

v2: removed dead code in sock_zerocopy_put_abort()
as suggested by Willem.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-01 20:22:03 -07:00
..
2017-08-09 22:43:50 -07:00
2017-09-01 18:35:23 -07:00
2017-08-28 16:49:49 -07:00
2017-08-29 15:16:52 -07:00
2017-08-28 11:30:02 -07:00
2017-08-03 09:13:51 -07:00
2017-08-29 15:16:52 -07:00
2017-08-29 15:16:52 -07:00
2017-08-16 11:27:52 -07:00