]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46bc1ad77231c9c101472272aac8f7669369265e
tree1d44f300ec3cf5f9845fba7a25491e33d666426f
parent33c9c084a6f25d0df89d769f14b731546b650f16
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