diff options
author | Julian Anastasov <ja@ssi.bg> | 2011-08-07 09:16:09 +0000 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-03-11 15:57:05 +0100 |
commit | a9b7aa107807bd5c2d7dd15ee4abada284f5de4d (patch) | |
tree | e76b121adf39bd630538aa0eb2f727e5f24daee0 /net/ipv6/inet6_connection_sock.c | |
parent | 921edcf001b259f8d61b9507a22f39af786c2f8e (diff) | |
download | kernel_samsung_espresso10-a9b7aa107807bd5c2d7dd15ee4abada284f5de4d.zip kernel_samsung_espresso10-a9b7aa107807bd5c2d7dd15ee4abada284f5de4d.tar.gz kernel_samsung_espresso10-a9b7aa107807bd5c2d7dd15ee4abada284f5de4d.tar.bz2 |
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.
Change-Id: I136b161c584deac3885efbf217e959e1a829fc1d
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/inet6_connection_sock.c')
0 files changed, 0 insertions, 0 deletions