diff options
author | Willem de Bruijn <willemb@google.com> | 2018-07-06 16:12:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-07 03:58:49 +0200 |
commit | 5fdaa88dfefa87ee1ea92750e99950dca182ea41 (patch) | |
tree | 394116bee42930622ead18315567df8b0e472c09 /include/net/transp_v6.h | |
parent | sock: sockc cookie initializer (diff) | |
download | linux-5fdaa88dfefa87ee1ea92750e99950dca182ea41.tar.xz linux-5fdaa88dfefa87ee1ea92750e99950dca182ea41.zip |
ipv6: fold sockcm_cookie into ipcm6_cookie
ipcm_cookie includes sockcm_cookie. Do the same for ipcm6_cookie.
This reduces the number of arguments that need to be passed around,
applies ipcm6_init to all cookie fields at once and reduces code
differentiation between ipv4 and ipv6.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/transp_v6.h')
-rw-r--r-- | include/net/transp_v6.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/transp_v6.h b/include/net/transp_v6.h index f6a3543e5247..a8f6020f1196 100644 --- a/include/net/transp_v6.h +++ b/include/net/transp_v6.h @@ -42,8 +42,7 @@ void ip6_datagram_recv_specific_ctl(struct sock *sk, struct msghdr *msg, struct sk_buff *skb); int ip6_datagram_send_ctl(struct net *net, struct sock *sk, struct msghdr *msg, - struct flowi6 *fl6, struct ipcm6_cookie *ipc6, - struct sockcm_cookie *sockc); + struct flowi6 *fl6, struct ipcm6_cookie *ipc6); void __ip6_dgram_sock_seq_show(struct seq_file *seq, struct sock *sp, __u16 srcp, __u16 destp, int rqueue, int bucket); |