net: ipv6: Introduce ip6_sk_dst_hoplimit.
This replaces 6 identical code snippets with a call to a new static inline function. Signed-off-by:Lorenzo Colitti <lorenzo@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/addrconf.h 0 additions, 5 deletionsinclude/net/addrconf.h
- include/net/ipv6.h 19 additions, 0 deletionsinclude/net/ipv6.h
- net/ipv6/icmp.c 2 additions, 12 deletionsnet/ipv6/icmp.c
- net/ipv6/ip6_flowlabel.c 0 additions, 1 deletionnet/ipv6/ip6_flowlabel.c
- net/ipv6/ping.c 1 addition, 6 deletionsnet/ipv6/ping.c
- net/ipv6/raw.c 2 additions, 8 deletionsnet/ipv6/raw.c
- net/ipv6/udp.c 2 additions, 8 deletionsnet/ipv6/udp.c
- net/l2tp/l2tp_ip6.c 2 additions, 8 deletionsnet/l2tp/l2tp_ip6.c
Please register or sign in to comment