Skip to content

inet: prevent skb changes in udp{4|6}_lib_lookup_skb()

Eric Dumazet netdev 1 version Applied

Status from this message: Applied, thank you!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2inet: constify inet_sdif() argumentinclude/net/ip.h+1 -10 replies
2/2inet: udp{4|6}_lib_lookup_skb() skb argument is constinclude/net/udp.h net/ipv4/udp.c net/ipv6/udp.c+5 -50 replies

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/2] inet: prevent skb changes in udp{4|6}_lib_lookup_skb()

From: Eric Dumazet <[email protected]>

This came while reviewing Alexander Lobakin patch against UDP GRO:

We want to make sure skb wont be changed by these helpers while it is owned by GRO stack.

Eric Dumazet (2):
inet: constify inet_sdif() argument
inet: udp{4|6}_lib_lookup_skb() skb argument is const

 include/net/ip.h  | 2 +-
 include/net/udp.h | 6 +++---
 net/ipv4/udp.c    | 2 +-
 net/ipv6/udp.c    | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.29.2.222.g5d2a92d10f8-goog