Messages in this thread Patch in this message | | | Date | Sun, 22 Oct 2023 12:20:35 -0400 | From | Oliver Crumrine <> | 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@gmail.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
| |