Skip to content

raw: add drop reasons and use another hash function

Eric Dumazet netdev 1 version Applied

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

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3ipv6: raw: add drop reasonsnet/ipv6/raw.c+7 -50 repliesApplied
2/3ipv4: raw: add drop reasonsnet/ipv4/raw.c+5 -30 repliesApplied
3/3raw: use net_hash_mix() in hash functioninclude/net/raw.h net/ipv4/raw.c net/ipv6/raw.c+20 -100 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] raw: add drop reasons and use another hash function

Two first patches add drop reasons to raw input processing.

Last patch spreads RAW sockets in the shared hash tables to avoid long hash buckets in some cases.

Eric Dumazet (3):
ipv6: raw: add drop reasons
ipv4: raw: add drop reasons

  raw: use net_hash_mix() in hash function
 include/net/raw.h | 13 +++++++++++--
 net/ipv4/raw.c    | 21 ++++++++++++---------
 net/ipv6/raw.c    | 16 +++++++++-------
 3 files changed, 32 insertions(+), 18 deletions(-)
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog