[PATCH net-next 01/17] Make cork in inet_sock a pointer.

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


Change the cork in inet_sock to a pointer. This is the actual change
to the struct itself for ipv4.

Signed-off-by: Oliver Crumrine <ozlinuxc@xxxxxxxxx>
---
include/net/inet_sock.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h
index 2de0e4d4a027..335cd6b2d472 100644
--- a/include/net/inet_sock.h
+++ b/include/net/inet_sock.h
@@ -240,7 +240,7 @@ struct inet_sock {
} local_port_range;

struct ip_mc_socklist __rcu *mc_list;
- struct inet_cork_full cork;
+ struct inet_cork_full *cork;
};

#define IPCORK_OPT 1 /* ip-options has been held in ipcork.opt */
--
2.42.0