Message ID | 29d13b7a3b74d7922b199ab70baa15569f453fe8.1697989543.git.ozlinuxc@gmail.com (mailing list archive) |
---|---|
State | Rejected |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Change cork to a pointer in sockets | expand |
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,
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(-)