lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <29d13b7a3b74d7922b199ab70baa15569f453fe8.1697989543.git.ozlinuxc@gmail.com> Date: Sun, 22 Oct 2023 12:20:35 -0400 From: Oliver Crumrine <ozlinuxc@...il.com> To: netdev@...r.kernel.org, linux-kernel@...r.kernel.org Cc: davem@...emloft.n Subject: [PATCH net-next 06/17] Update code for cork as a pointer Because the corks are pointers, they don't need to be referenced to be passed into __ip6_make_skb. Signed-off-by: Oliver Crumrine <ozlinuxc@...il.com> --- include/net/ipv6.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net/ipv6.h b/include/net/ipv6.h index c6932d1a3fa8..88eded2662ff 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -1122,8 +1122,8 @@ struct sk_buff *ip6_make_skb(struct sock *sk, static inline struct sk_buff *ip6_finish_skb(struct sock *sk) { - return __ip6_make_skb(sk, &sk->sk_write_queue, &inet_sk(sk)->cork, - &inet6_sk(sk)->cork); + return __ip6_make_skb(sk, &sk->sk_write_queue, inet_sk(sk)->cork, + inet6_sk(sk)->cork); } int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst, -- 2.42.0
Powered by blists - more mailing lists