# \[PATCH 5/6 net-next\] net: Remove struct sockaddr from net.h

- From: Kees Cook \<kees@kernel.org\>
- Date: 2025-07-23 23:19:30 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/07/11333354
- Thread: https://ratatoskr.run/netdev/2025/07/11333351/t.md

```text
Now that struct sockaddr is no longer used by net.h, remove it.

Signed-off-by: Kees Cook <kees@kernel.org>
---
 include/linux/net.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/net.h b/include/linux/net.h
index 25a7c37977fd..e804cbda9a42 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -150,7 +150,6 @@ typedef struct {
 
 struct vm_area_struct;
 struct page;
-struct sockaddr;
 struct msghdr;
 struct module;
 struct sk_buff;
-- 
2.34.1

```
