Thread (7 messages) 7 messages, 5 authors, 2021-12-08

Re: [PATCH] ipv6: fix NULL pointer dereference in ip6_output()

flat view

From: Florian Westphal <fw@strlen.de>
Date: 2021-12-08 10:51:24
Also in: lkml

David Ahern [off-list ref] wrote:
On 12/7/21 5:21 PM, Andrea Mayer wrote:
quoted
+        IP6CB(skb)->iif = skb->skb_iif;
         [...]

What do you think?
I like that approach over the need for a fall back in core ipv6 code.
What if the device is removed after ->iif assignment and before dev lookup?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help