From: William Tu <[email protected]>
Date: Thu, 16 May 2019 09:25:48 -0700

> When increases the headroom, skb's pointer might get re-allocated.
> Fix it by moving skb_cow_head before accessing the skb->data pointer.
> 
> Fixes: 01b8d064d58b4 ("net: ip6_gre: Request headroom in __gre6_xmit()")
> Reported-by: Haichao Ma <[email protected]>
> Signed-off-by: William Tu <[email protected]>

I don't understand the problem.

The fl6->daddr assignments are object copies, not pointer assignments.

So there are no dangling pointer references I can see.

Also, you need to explain exactly what dangling pointer is the problem
in your commit message.

Reply via email to