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)
commitf5715aea4564f233767ea1d944b2637a5fd7cd2e
treee74e56e56dff19940ba3a5002355ba1bfc73f573
parenta210d01ae3ee006b59e54e772a7f212486e0f021
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