Re: [PATCH net v2] udp: preserve skb->dst if required for IP options processing

2017-07-21 Thread Artem Savkov
On Tue, Jul 18, 2017 at 11:57:55AM +0200, Paolo Abeni wrote: > Eric noticed that in udp_recvmsg() we still need to access > skb->dst while processing the IP options. > Since commit 0a463c78d25b ("udp: avoid a cache miss on dequeue") > skb->dst is no more available at recvmsg() time and bad things >

Re: [PATCH net v2] udp: preserve skb->dst if required for IP options processing

2017-07-18 Thread David Miller
From: Paolo Abeni Date: Tue, 18 Jul 2017 11:57:55 +0200 > Eric noticed that in udp_recvmsg() we still need to access > skb->dst while processing the IP options. > Since commit 0a463c78d25b ("udp: avoid a cache miss on dequeue") > skb->dst is no more available at recvmsg() time and bad things > wi

[PATCH net v2] udp: preserve skb->dst if required for IP options processing

2017-07-18 Thread Paolo Abeni
Eric noticed that in udp_recvmsg() we still need to access skb->dst while processing the IP options. Since commit 0a463c78d25b ("udp: avoid a cache miss on dequeue") skb->dst is no more available at recvmsg() time and bad things will happen if we enter the relevant code path. This commit address t