summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/gateway_client.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-05-02 14:37:45 -0700
committerDavid S. Miller <davem@davemloft.net>2011-05-02 14:37:45 -0700
commit5615787257742aab42ecf17c11e3244d9536a48d (patch)
treef9c8a74398964690e3b9583cec99dfc7e7b45511 /net/batman-adv/gateway_client.c
parent14ad2513ed5b709e566a853f4b515d91c5d83311 (diff)
downloadblackbird-obmc-linux-5615787257742aab42ecf17c11e3244d9536a48d.tar.gz
blackbird-obmc-linux-5615787257742aab42ecf17c11e3244d9536a48d.zip
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 <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/gateway_client.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud