ipv6: datagram: Refactor dst lookup and update codes to a new function
authorMartin KaFai Lau <kafai@fb.com>
Mon, 11 Apr 2016 22:29:35 +0000 (15:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Apr 2016 20:29:50 +0000 (16:29 -0400)
commit7e2040db1539a904924b997a14ebd3de53172100
tree2842e9c1d59bfd3535b9055f19b676a5c09e2e42
parent80fbdb208f37740774652ba095a5b2045205ed59
ipv6: datagram: Refactor dst lookup and update codes to a new function

This patch moves the route lookup and update codes for connected
datagram sk to a newly created function ip6_datagram_dst_update()

It will be reused during the 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>
net/ipv6/datagram.c