netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] ipv6: more drop reason
@ 2023-02-10 18:47 Eric Dumazet
  2023-02-10 18:47 ` [PATCH net-next 1/4] net: dropreason: add SKB_DROP_REASON_IPV6_BAD_EXTHDR Eric Dumazet
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Eric Dumazet @ 2023-02-10 18:47 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni
  Cc: David Ahern, netdev, eric.dumazet, Eric Dumazet

Add more drop reasons to IPv6:

 - IPV6_BAD_EXTHDR
 - IPV6_NDISC_FRAG
 - IPV6_NDISC_HOP_LIMIT
 - IPV6_NDISC_BAD_CODE

Eric Dumazet (4):
  net: dropreason: add SKB_DROP_REASON_IPV6_BAD_EXTHDR
  net: add pskb_may_pull_reason() helper
  ipv6: icmp6: add drop reason support to icmpv6_notify()
  ipv6: icmp6: add drop reason support to ndisc_rcv()

 include/linux/skbuff.h   | 19 +++++++++++++++----
 include/net/dropreason.h | 12 ++++++++++++
 include/net/ipv6.h       |  3 ++-
 include/net/ndisc.h      |  2 +-
 net/ipv6/icmp.c          | 27 ++++++++++++++++++---------
 net/ipv6/ndisc.c         | 13 +++++++------
 6 files changed, 55 insertions(+), 21 deletions(-)

-- 
2.39.1.581.gbfd45094c4-goog


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-02-14  4:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10 18:47 [PATCH net-next 0/4] ipv6: more drop reason Eric Dumazet
2023-02-10 18:47 ` [PATCH net-next 1/4] net: dropreason: add SKB_DROP_REASON_IPV6_BAD_EXTHDR Eric Dumazet
2023-02-10 19:24   ` David Ahern
2023-02-10 18:47 ` [PATCH net-next 2/4] net: add pskb_may_pull_reason() helper Eric Dumazet
2023-02-10 19:24   ` David Ahern
2023-02-10 18:47 ` [PATCH net-next 3/4] ipv6: icmp6: add drop reason support to icmpv6_notify() Eric Dumazet
2023-02-10 19:26   ` David Ahern
2023-02-10 18:47 ` [PATCH net-next 4/4] ipv6: icmp6: add drop reason support to ndisc_rcv() Eric Dumazet
2023-02-10 19:27   ` David Ahern
2023-02-14  4:10 ` [PATCH net-next 0/4] ipv6: more drop reason patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).