diff options
author | Martin KaFai Lau <kafai@fb.com> | 2016-04-11 15:29:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-14 16:29:49 -0400 |
commit | 80fbdb208f37740774652ba095a5b2045205ed59 (patch) | |
tree | f4c723c3c3d042a563df7b515f06f8bea5cf8493 /drivers/pwm | |
parent | f1d0540db6a21395a58268f4392c7420ebae8c1d (diff) |
ipv6: datagram: Refactor flowi6 init codes to a new function
Move flowi6 init codes for connected datagram sk to a newly created
function ip6_datagram_flow_key_init().
Notes:
1. fl6_flowlabel is used instead of fl6.flowlabel in __ip6_datagram_connect
2. ipv6_addr_is_multicast(&fl6->daddr) is used instead of
(addr_type & IPV6_ADDR_MULTICAST) in ip6_datagram_flow_key_init()
This new function will be reused during pmtu update in the later patch.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Wei Wang <weiwan@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions