Skip to content

net: ipv4: some drop reason cleanup and improvements

Antoine Tenart netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Added patch 3 [David Ahern's suggestion].

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: ipv4: make udp_v4_early_demux explicitly return drop reasoninclude/net/udp.h net/ipv4/ip_input.c net/ipv4/udp.c+8 -80 replies
2/4net: ipv4: simplify drop reason handling in ip_rcv_finish_corenet/ipv4/ip_input.c+3 -43 replies
3/4net: ipv4: use the right type for drop reasons in ip_rcv_finish_corenet/ipv4/ip_input.c+4 -42 replies
4/4net: ipv4: convert ip_rcv_options to drop reasonsnet/ipv4/ip_input.c+12 -120 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDavid Ahern
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/4] net: ipv4: some drop reason cleanup and improvements

Hi,

A few patches that were laying around cleaning up and improving drop reasons in net/ipv4.

Thanks,
Antoine

Since v1:
- Added patch 3 [David Ahern's suggestion].

Antoine Tenart (4):
net: ipv4: make udp_v4_early_demux explicitly return drop reason
net: ipv4: simplify drop reason handling in ip_rcv_finish_core
net: ipv4: use the right type for drop reasons in ip_rcv_finish_core
net: ipv4: convert ip_rcv_options to drop reasons

 include/net/udp.h   |  2 +-
 net/ipv4/ip_input.c | 37 ++++++++++++++++++-------------------
 net/ipv4/udp.c      | 12 ++++++------
 3 files changed, 25 insertions(+), 26 deletions(-)
Signature · 1 line
2.51.0