inet: frags: fully use RCU
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyApplied 4/4
- v14 patches 1 replySuperseded
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | inet: frags: add inet_frag_putn() helperinclude/ include/ net/ +4 more | +14 | 0 replies | Applied |
| 2/4 | ipv4: frags: remove ipq_put()net/ | +4 | 0 replies | Applied |
| 3/4 | inet: frags: change inet_frag_kill() to defer refcount updatesinclude/ include/ net/ +4 more | +53 | 0 replies | Applied |
| 4/4 | inet: frags: save a pair of atomic operations in reassemblynet/ net/ net/ +2 more | +24 | 1 reply | Applied |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Jacob Keller |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 net-next 0/4] inet: frags: fully use RCU
While inet reassembly uses RCU, it is acquiring/releasing a refcount on struct inet_frag_queue in fast path, for no good reason.
This was mentioned in one patch changelog seven years ago :/
This series is removing these refcount changes, by extending RCU sections.
v2: fix a compile error in net/ieee802154/6lowpan/reassembly.c (kbot)
Eric Dumazet (4):
inet: frags: add inet_frag_putn() helper
ipv4: frags: remove ipq_put()
inet: frags: change inet_frag_kill() to defer refcount updates
inet: frags: save a pair of atomic operations in reassembly
include/net/inet_frag.h | 6 ++-- include/net/ipv6_frag.h | 5 +-- net/ieee802154/6lowpan/reassembly.c | 27 ++++++++------ net/ipv4/inet_fragment.c | 31 ++++++++-------- net/ipv4/ip_fragment.c | 48 ++++++++++--------------- net/ipv6/netfilter/nf_conntrack_reasm.c | 27 ++++++++------ net/ipv6/reassembly.c | 29 +++++++-------- 7 files changed, 89 insertions(+), 84 deletions(-)
Signature · 1 line
2.49.0.rc0.332.g42c0ae87b1-goog