2020-11-09 23:37:38

by Alexander Lobakin

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

From: Eric Dumazet <[email protected]>
Date: Mon, 9 Nov 2020 15:13:47 -0800

> 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

For the series:
Acked-by: Alexander Lobakin <[email protected]>

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