Re: [PATCH v3] ip6mr: Fix skb_under_panic in ip6mr_cache_report()

From: Jakub Kicinski
Date: Tue Aug 01 2023 - 16:11:53 EST


On Tue, 1 Aug 2023 09:51:29 +0200 Eric Dumazet wrote:
> > - skb_push(skb, -skb_network_offset(pkt));
> > + __skb_pull(skb, skb_network_offset(pkt));
> >
> > skb_push(skb, sizeof(*msg));
> > skb_reset_transport_header(skb);
>
> Presumably this code has never been tested :/

Could have been tested on 32bit, I wonder if there is more such bugs :S