[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171009165225.7008-1-edumazet@google.com>
Date: Mon, 9 Oct 2017 09:52:23 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>
Subject: [PATCH net-next 0/2] 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.
Eric Dumazet (2):
ipv6: addrlabel: rework ip6addrlbl_get()
ipv6: addrlabel: remove refcounting
net/ipv6/addrlabel.c | 69 +++++++++++++---------------------------------------
1 file changed, 17 insertions(+), 52 deletions(-)
--
2.14.2.920.gcf0c67979c-goog
Powered by blists - more mailing lists