Re: [PATCH net-next 0/2] inet: prevent skb changes in udp{4|6}_lib_lookup_skb()

From: Alexander Lobakin
Date: Mon Nov 09 2020 - 18:33:32 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Mon, 9 Nov 2020 15:13:47 -0800

> From: Eric Dumazet <edumazet@xxxxxxxxxx>
>
> 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

For the series:
Acked-by: Alexander Lobakin <alobakin@xxxxx>

Thanks!

> 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(-)
>
> --
> 2.29.2.222.g5d2a92d10f8-goog

Al