-
- Downloads
net: Abstract default ADVMSS behind an accessor.
Make all RTAX_ADVMSS metric accesses go through a new helper function,
dst_metric_advmss().
Leave the actual default metric as "zero" in the real metric slot,
and compute the actual default value dynamically via a new dst_ops
AF specific callback.
For stacked IPSEC routes, we use the advmss of the path which
preserves existing behavior.
Unlike ipv4/ipv6, DecNET ties the advmss to the mtu and thus updates
advmss on pmtu updates. This inconsistency in advmss handling
results in more raw metric accesses than I wish we ended up with.
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/scsi/cxgbi/libcxgbi.c 1 addition, 1 deletiondrivers/scsi/cxgbi/libcxgbi.c
- include/net/dst.h 13 additions, 1 deletioninclude/net/dst.h
- include/net/dst_ops.h 1 addition, 0 deletionsinclude/net/dst_ops.h
- net/decnet/af_decnet.c 2 additions, 2 deletionsnet/decnet/af_decnet.c
- net/decnet/dn_route.c 16 additions, 6 deletionsnet/decnet/dn_route.c
- net/ipv4/route.c 17 additions, 7 deletionsnet/ipv4/route.c
- net/ipv4/tcp_ipv4.c 1 addition, 1 deletionnet/ipv4/tcp_ipv4.c
- net/ipv4/tcp_output.c 9 additions, 5 deletionsnet/ipv4/tcp_output.c
- net/ipv6/route.c 7 additions, 9 deletionsnet/ipv6/route.c
- net/ipv6/tcp_ipv6.c 1 addition, 1 deletionnet/ipv6/tcp_ipv6.c
- net/xfrm/xfrm_policy.c 7 additions, 0 deletionsnet/xfrm/xfrm_policy.c
Loading
Please register or sign in to comment