From: Julian Anastasov Date: Sun, 7 Aug 2011 09:16:09 +0000 (+0000) Subject: ipv4: route non-local sources for raw socket X-Git-Tag: v3.1-rc2~19^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47670b767b1593433b516df7798df03f858278be;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed