Merge branch 'ipv6-addrlabel-avoid-dirtying-ip6addrlbl_entry'
commit2e997d8b12d2933d7640bb3a43af8eb6857a73af
authorDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 17:47:30 +0000 (9 10:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 17:47:30 +0000 (9 10:47 -0700)
treea9c6c7eabe780b470cb52818872f78f2cee5899e
parent1ee87d7a315aaf42b999c376dec508c8b3728b12
parent2809c0957dbbd56d3a92e9ede27b19943fef7236
Merge branch 'ipv6-addrlabel-avoid-dirtying-ip6addrlbl_entry'

Eric Dumazet says:

====================
ipv6: addrlabel: avoid dirtying ip6addrlbl_entry

The refcount on ip6addrlbl_entry is only used to make sure ip6addrlbl_entry
does not disappear while ip6addrlbl_get() is allocating an skb.

We can instead allocate skb first, then use RCU, so that we no longer need
to refcount these structures.
====================

Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>