net: Pass optional SKB and SK arguments to dst_ops->{update_pmtu,redirect}()
authorDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 10:29:28 +0000 (03:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 10:29:28 +0000 (03:29 -0700)
commit6700c2709c08d74ae2c3c29b84a30da012dbc7f1
tree1d44f300ec3cf5f9845fba7a25491e33d666426f
parent02f3d4ce9e81434a365f4643020b0402f6fe3332
net: Pass optional SKB and SK arguments to dst_ops->{update_pmtu,redirect}()

This will be used so that we can compose a full flow key.

Even though we have a route in this context, we need more.  In the
future the routes will be without destination address, source address,
etc. keying.  One ipv4 route will cover entire subnets, etc.

In this environment we have to have a way to possess persistent storage
for redirects and PMTU information.  This persistent storage will exist
in the FIB tables, and that's why we'll need to be able to rebuild a
full lookup flow key here.  Using that flow key will do a fib_lookup()
and create/update the persistent entry.

Signed-off-by: David S. Miller <davem@davemloft.net>
21 files changed:
drivers/infiniband/ulp/ipoib/ipoib_cm.c
include/net/dst_ops.h
net/bridge/br_netfilter.c
net/dccp/ipv4.c
net/dccp/ipv6.c
net/decnet/dn_route.c
net/ipv4/inet_connection_sock.c
net/ipv4/ip_gre.c
net/ipv4/ipip.c
net/ipv4/route.c
net/ipv4/tcp_ipv4.c
net/ipv4/xfrm4_policy.c
net/ipv6/inet6_connection_sock.c
net/ipv6/ip6_tunnel.c
net/ipv6/route.c
net/ipv6/sit.c
net/ipv6/tcp_ipv6.c
net/ipv6/xfrm6_policy.c
net/netfilter/ipvs/ip_vs_xmit.c
net/sctp/input.c
net/sctp/transport.c