]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Refactor common ip6gre_tunnel_init codes
authorMartin KaFai Lau <kafai@fb.com>
Tue, 15 Sep 2015 21:30:05 +0000 (14:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2015 21:53:04 +0000 (14:53 -0700)
commit566121dc3ee7de55a6c3a88099f9de2219f4a6cf
tree1fe4dfa29c0e14c0fe0b97807633a9d81238ffb1
parent097fa36517594925c39fb8e5e496f9e0e012193a
ipv6: Refactor common ip6gre_tunnel_init codes

It is a prep work to fix the dst_entry refcnt bugs in ip6_tunnel.

This patch refactors some common init codes used by both
ip6gre_tunnel_init and ip6gre_tap_init.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c