diff options
author | Alexey Kodanev <[email protected]> | 2018-04-03 15:00:08 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-04 11:31:57 -0400 |
commit | 96818159c3c08911330e84f86b3becf71aeeaac8 (patch) | |
tree | 4c194bd0926d5e954e596303d79b7277b301358f /lib/test_overflow.c | |
parent | 7d6850f7c618d8f13d7945dd0dcee98223be6459 (diff) |
ipv6: allow to cache dst for a connected sk in ip6_sk_dst_lookup_flow()
Add 'connected' parameter to ip6_sk_dst_lookup_flow() and update
the cache only if ip6_sk_dst_check() returns NULL and a socket
is connected.
The function is used as before, the new behavior for UDP sockets
in udpv6_sendmsg() will be enabled in the next patch.
Signed-off-by: Alexey Kodanev <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions