summaryrefslogtreecommitdiff
path: root/include/net/dst.h
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2017-11-28 23:41:01 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-30 17:54:27 +0300
commit5492093dc4160d150890bc848c26ba7f8fff3094 (patch)
treedc760d6803315b9f62e0b90572c7cb47988b6f56 /include/net/dst.h
parent8b207e7374c244484d6cb0f0e80ae400ce0ec0cf (diff)
downloadlinux-5492093dc4160d150890bc848c26ba7f8fff3094.tar.xz
xfrm: Stop using dst->next in bundle construction.
While building ipsec bundles, blocks of xfrm dsts are linked together using dst->next from bottom to the top. The only thing this is used for is initializing the pmtu values of the xfrm stack, and for updating the mtu values at xfrm_bundle_ok() time. The bundle pmtu entries must be processed in this order so that pmtu values lower in the stack of routes can propagate up to the higher ones. Avoid using dst->next by simply maintaining an array of dst pointers as we already do for the xfrm_state objects when building the bundle. Signed-off-by: David S. Miller <davem@davemloft.net> Reviewed-by: Eric Dumazet <edumazet@google.com>
Diffstat (limited to 'include/net/dst.h')
0 files changed, 0 insertions, 0 deletions