inet: ping: remove extra skb_clone()/consume_skb()
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
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ipv4: icmp: do not process ICMP_EXT_ECHOREPLY for broadcast/multicast addressesnet/ | +16 | 1 reply | Applied |
| 2/2 | inet: ping: avoid skb_clone() dance in ping_rcv()net/ net/ net/ | +10 | 1 reply | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | David Ahern |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
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] inet: ping: remove extra skb_clone()/consume_skb()
First patch in the series moves ICMP_EXT_ECHOREPLY handling in icmp_rcv() to prepare the second patch.
The second patch removes one skb_clone()/consume_skb() pair when processing ICMP_EXT_REPLY packets. Some people use hundreds of "ping -fq ..." to stress hosts :)
Eric Dumazet (2):
ipv4: icmp: do not process ICMP_EXT_ECHOREPLY for broadcast/multicast
addresses
inet: ping: avoid skb_clone() dance in ping_rcv()
net/ipv4/icmp.c | 33 +++++++++++++++++---------------- net/ipv4/ping.c | 20 +++++--------------- net/ipv6/icmp.c | 7 ++----- 3 files changed, 24 insertions(+), 36 deletions(-)
Signature · 1 line
2.48.1.658.g4767266eb4-goog