ipv6: addrlabel: avoid dirtying ip6addrlbl_entry
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ipv6: addrlabel: rework ip6addrlbl_get()net/ | +13 | 0 replies | |
| 2/2 | ipv6: addrlabel: remove refcountingnet/ | +4 | 0 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.
| Patch | Martin KaFai Lau |
|---|---|
| Series | A-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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