diff options
author | Alexey Kodanev <alexey.kodanev@oracle.com> | 2018-04-03 15:00:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-04 18:31:57 +0300 |
commit | 7d6850f7c618d8f13d7945dd0dcee98223be6459 (patch) | |
tree | f282b9757cd626bc93f194ac09faccca3c4772ff /include/net/ipv6.h | |
parent | 0d3ad8549c6327a8e0bad0fb785c00e07672f296 (diff) | |
download | linux-7d6850f7c618d8f13d7945dd0dcee98223be6459.tar.xz |
ipv6: add a wrapper for ip6_dst_store() with flowi6 checks
Move commonly used pattern of ip6_dst_store() usage to a separate
function - ip6_sk_dst_store_flow(), which will check the addresses
for equality using the flow information, before saving them.
There is no functional changes in this patch. In addition, it will
be used in the next patch, in ip6_sk_dst_lookup_flow().
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
0 files changed, 0 insertions, 0 deletions