net: core: Support UID-based routing.
authorLorenzo Colitti <lorenzo@google.com>
Mon, 31 Mar 2014 07:23:51 +0000 (16:23 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Wed, 25 Jun 2014 03:41:52 +0000 (12:41 +0900)
commit99a6ea48b591877d1cd6a51732c40a1d5321d961
treefc8dee7c52e5780bde9a88eaec677accaf3e7842
parent364a09b74ecbcee9411c3677212f0392d3c876de
net: core: Support UID-based routing.

This contains the following commits:

1. cc2f522 net: core: Add a UID range to fib rules.
2. d7ed2bd net: core: Use the socket UID in routing lookups.
3. 2f9306a net: core: Add a RTA_UID attribute to routes.
    This is so that userspace can do per-UID route lookups.
4. 8e46efb net: ipv6: Use the UID in IPv6 PMTUD
    IPv4 PMTUD already does this because ipv4_sk_update_pmtu
    uses __build_flow_key, which includes the UID.

Bug: 15413527
Change-Id: I81bd31dae655de9cce7d7a1f9a905dc1c2feba7c
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
29 files changed:
include/net/fib_rules.h
include/net/flow.h
include/net/ip.h
include/net/ip6_route.h
include/net/route.h
include/uapi/linux/fib_rules.h
include/uapi/linux/rtnetlink.h
net/core/fib_rules.c
net/ipv4/fib_frontend.c
net/ipv4/inet_connection_sock.c
net/ipv4/ip_output.c
net/ipv4/ping.c
net/ipv4/raw.c
net/ipv4/route.c
net/ipv4/syncookies.c
net/ipv4/udp.c
net/ipv6/af_inet6.c
net/ipv6/ah6.c
net/ipv6/datagram.c
net/ipv6/esp6.c
net/ipv6/icmp.c
net/ipv6/inet6_connection_sock.c
net/ipv6/ipcomp6.c
net/ipv6/ping.c
net/ipv6/raw.c
net/ipv6/route.c
net/ipv6/syncookies.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c