Messages in this thread Patch in this message | | | Date | Sun, 22 Oct 2023 12:21:29 -0400 | From | Oliver Crumrine <> | Subject | [PATCH net-next 15/17] Modify occurences of cork to make it a pointer |
| |
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(-)
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) { -- 2.42.0
| |