Thread (5 messages) 5 messages, 2 authors, 2011-03-03

Re: [PATCH net-next-2.6] udp: udp_sendmsg() fix

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-03-03 18:41:49

From: Eric Dumazet <redacted>
Date: Thu, 03 Mar 2011 18:07:23 +0100
[PATCH net-next-2.6] udp: udp_sendmsg() fix

commit b23dd4fe42b455af (ipv4: Make output route lookup return rtable
directly) introduced a regression in udp_sendmsg()

If IP route lookup fails, we should not try to release an non existent
route.

Signed-off-by: Eric Dumazet <redacted>
Ok, this works too.

My version NULL's out rt, so that if we had any changes in code paths
here it would be unlikely we'd reintroduce this bug.

I'm fine either way, although my version is in net-next-2.6 at the
moment :-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help