Message ID | e4dc390bf9089de925348d9ed81605956e65ad93.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/net/ipv6/raw.c b/net/ipv6/raw.c index 42fcec3ecf5e..3ef5a75dcb79 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@ -520,8 +520,8 @@ static int rawv6_push_pending_frames(struct sock *sk, struct flowi6 *fl6, goto out; offset = rp->offset; - total_len = inet_sk(sk)->cork.base.length; - opt = inet6_sk(sk)->cork.opt; + total_len = inet_sk(sk)->cork->base.length; + opt = inet6_sk(sk)->cork->opt; total_len -= opt ? opt->opt_flen : 0; if (offset >= total_len - 1) {
Update an occurence of ockr to make it a pointer, just like all the previous patches Signed-off-by: Oliver Crumrine <ozlinuxc@gmail.com> --- net/ipv6/raw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)