]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite5bcb606f8ee7ef4ad17e3d09a769b41158cb82a
tree2842e9c1d59bfd3535b9055f19b676a5c09e2e42
parent2d7dc590b3b427df1c68e1e8fd1c779ac8ef6446
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