net: use kfree_skb_reason() for ip/udp packet receive
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest7 patches 1 replyApplied 7/7
- v37 patches 14 repliesSuperseded
- v28 patches 5 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 6 patches | 15 replies | Superseded |
Changes in v4 from the cover letter
- fix some small problems in the third patch (net: ipv4: use kfree_skb_reason() in ip_rcv_core()), as David Ahern said
Patches in v4 All 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net: skb_drop_reason: add document for drop reasonsinclude/ | +6 | 0 replies | Applied |
| 2/7 | net: netfilter: use kfree_drop_reason() for NF_DROPinclude/ include/ net/ | +4 | 0 replies | Applied |
| 3/7 | net: ipv4: use kfree_skb_reason() in ip_rcv_core()include/ include/ net/ | +22 | 1 reply | Applied |
| 4/7 | net: ipv4: use kfree_skb_reason() in ip_rcv_finish_core()include/ include/ net/ | +22 | 0 replies | Applied |
| 5/7 | net: ipv4: use kfree_skb_reason() in ip_protocol_deliver_rcu()include/ include/ net/ | +7 | 0 replies | Applied |
| 6/7 | net: udp: use kfree_skb_reason() in udp_queue_rcv_one_skb()net/ | +9 | 0 replies | Applied |
| 7/7 | net: udp: use kfree_skb_reason() in __udp_queue_rcv_skb()include/ include/ net/ | +14 | 0 replies | Applied |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | David Ahern |
|---|---|
| 1/7 | R-b |
| 2/7 | |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 net-next 0/7] net: use kfree_skb_reason() for ip/udp packet receive
From: Menglong Dong <[email protected]>
In this series patches, kfree_skb() is replaced with kfree_skb_reason() during ipv4 and udp4 packet receiving path, and following drop reasons are introduced:
SKB_DROP_REASON_SOCKET_FILTERSKB_DROP_REASON_NETFILTER_DROPSKB_DROP_REASON_OTHERHOSTSKB_DROP_REASON_IP_CSUMSKB_DROP_REASON_IP_INHDRSKB_DROP_REASON_IP_RPFILTERSKB_DROP_REASON_UNICAST_IN_L2_MULTICASTSKB_DROP_REASON_XFRM_POLICYSKB_DROP_REASON_IP_NOPROTOSKB_DROP_REASON_SOCKET_RCVBUFFSKB_DROP_REASON_PROTO_MEM
TCP is more complex, so I left it in the next series.
I just figure out how __print_symbolic() works. It doesn't base on the array index, but searching for symbols by loop. So I'm a little afraid it's performance.
Changes since v3:
- fix some small problems in the third patch (net: ipv4: use kfree_skb_reason() in ip_rcv_core()), as David Ahern said
Changes since v2:
- use SKB_DROP_REASON_PKT_TOO_SMALL for a path in ip_rcv_core()
Changes since v1:
- add document for all drop reasons, as David advised
- remove unreleated cleanup
- remove EARLY_DEMUX and IP_ROUTE_INPUT drop reason
- replace {UDP, TCP}_FILTER with SOCKET_FILTER
Alex Elder (6):
net: ipa: allocate transaction in replenish loop
net: ipa: don't use replenish_backlog
net: ipa: introduce gsi_channel_trans_idle()
net: ipa: kill replenish_backlog
net: ipa: replenish after delivering payload
net: ipa: determine replenish doorbell differently
Menglong Dong (1):
net: drop_monitor: support drop reason
Signature · 1 line
2.27.0