]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ipv4: Conditionally enable transparent flow flag when connecting
authorKOVACS Krisztian <hidden@sch.bme.hu>
Wed, 1 Oct 2008 14:35:39 +0000 (07:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2008 14:35:39 +0000 (07:35 -0700)
commit79876874ce20d37ecdc7f481ebf142466999152f
tree39c23290ceff007d587d4e3b238290570fa4510e
parent1668e010cbe1a7567c81d4c02d31dde9859e9da1
ipv4: Conditionally enable transparent flow flag when connecting

Set FLOWI_FLAG_ANYSRC in flowi->flags if the socket has the
transparent socket option set. This way we selectively enable certain
connections with non-local source addresses to be routed.

Signed-off-by: KOVACS Krisztian <hidden@sch.bme.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/route.h