Julian Anastasov 47670b767b ipv4: route non-local sources for raw socket
The raw sockets can provide source address for
routing but their privileges are not considered. We
can provide non-local source address, make sure the
FLOWI_FLAG_ANYSRC flag is set if socket has privileges
for this, i.e. based on hdrincl (IP_HDRINCL) and
transparent flags.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-08-07 22:52:32 -07:00
..
2011-07-23 09:32:52 -05:00
2011-06-01 21:15:38 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-05-05 11:10:14 -07:00
2010-12-31 10:47:46 -08:00
2011-07-05 23:42:17 -07:00
2010-06-03 03:21:52 -07:00
2009-03-21 19:06:54 -07:00
2010-10-27 11:37:32 -07:00
2011-07-26 16:49:47 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-17 23:11:35 -07:00
2010-10-25 13:09:45 -07:00
2011-07-26 16:49:47 -07:00
2008-06-11 21:00:38 -07:00
2010-10-27 11:37:32 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2008-02-29 11:46:17 -08:00
2011-07-26 16:49:47 -07:00
2011-07-20 15:04:35 -04:00
2010-06-03 03:21:52 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2009-01-06 11:38:15 -07:00
2011-06-22 16:09:45 -04:00
2011-07-05 15:26:57 -04:00
2011-05-17 14:16:58 -04:00
2011-01-24 15:32:47 -08:00
2009-03-21 19:06:50 -07:00
2010-11-24 11:16:43 -08:00
2011-06-11 16:23:59 -07:00
2008-07-05 21:25:39 -07:00
2011-03-01 12:35:03 -08:00
2011-03-01 12:35:03 -08:00
2009-10-07 16:39:43 -04:00
2011-03-31 11:26:23 -03:00
2010-11-28 11:12:20 -08:00