]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: ipcm6_cookie initializer
authorWillem de Bruijn <willemb@google.com>
Fri, 6 Jul 2018 14:12:55 +0000 (10:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Jul 2018 01:58:49 +0000 (10:58 +0900)
commitc373205ce467167d5e089d1716663554df02c9c4
treeb11ac766cd06f15c8eb9ae83d4cb96fecef97342
parent06f5eb79128a39c0dbafe521bfdf158f17ce9f95
ipv6: ipcm6_cookie initializer

Initialize the cookie in one location to reduce code duplication and
avoid bugs from inconsistent initialization, such as that fixed in
commit 669749d696c5 ("ip: limit use of gso_size to udp").

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/ipv6/icmp.c
net/ipv6/ping.c
net/ipv6/raw.c
net/ipv6/udp.c
net/l2tp/l2tp_ip6.c