[PATCH net-next 15/17] Modify occurences of cork to make it a pointer

From: Oliver Crumrine
Date: Sun Oct 22 2023 - 12:22:04 EST


Update an occurence of ockr to make it a pointer, just like all the
previous patches

Signed-off-by: Oliver Crumrine <ozlinuxc@xxxxxxxxx>
---
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