]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Implement IP_TRANSPARENT socket option
authorKOVACS Krisztian <hidden@sch.bme.hu>
Wed, 1 Oct 2008 14:30:02 +0000 (07:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2008 14:30:02 +0000 (07:30 -0700)
commite923bffaaebd1b1f0b7716054e2d3a1f21606eef
treee74e56e56dff19940ba3a5002355ba1bfc73f573
parente0fd7fb67f8c5e1287424174340b768b14b4aa8c
ipv4: Implement IP_TRANSPARENT socket option

This patch introduces the IP_TRANSPARENT socket option: enabling that
will make the IPv4 routing omit the non-local source address check on
output. Setting IP_TRANSPARENT requires NET_ADMIN capability.

Signed-off-by: KOVACS Krisztian <hidden@sch.bme.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/in.h
include/net/inet_sock.h
include/net/inet_timewait_sock.h
net/ipv4/inet_timewait_sock.c
net/ipv4/ip_sockglue.c