From: David S. Miller Date: Mon, 2 May 2011 21:37:45 +0000 (-0700) Subject: ipv4: Make sure flowi4->{saddr,daddr} are always set. X-Git-Tag: v3.0-rc1~377^2~191 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5615787257742aab42ecf17c11e3244d9536a48d;p=pandora-kernel.git ipv4: Make sure flowi4->{saddr,daddr} are always set. Slow path output route resolution always makes sure that ->{saddr,daddr} are set, and also if we trigger into IPSEC resolution we initialize them as well, because xfrm_lookup() expects them to be fully resolved. But if we hit the fast path and flowi4->flowi4_proto is zero, we won't do this initialization. Therefore, move the IPSEC path initialization to the route cache lookup fast path to make sure these are always set. Signed-off-by: David S. Miller --- Reading git-diff-tree failed