Skip to content

ipv6: addrlabel: avoid dirtying ip6addrlbl_entry

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ipv6: addrlabel: rework ip6addrlbl_get()net/ipv6/addrlabel.c+13 -230 replies
2/2ipv6: addrlabel: remove refcountingnet/ipv6/addrlabel.c+4 -290 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin KaFai Lau
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.14.2.920.gcf0c67979c-goog