Thread (41 messages) flat view 41 messages, 4 authors, 2025-09-18

Re: [PATCH net-next v13 06/19] net: move sk_validate_xmit_skb() to net/core/dev.c

From: Eric Dumazet <edumazet@google.com>
Date: 2025-09-18 03:46:48

On Tue, Sep 16, 2025 at 5:10 PM Daniel Zahka [off-list ref] wrote:
Move definition of sk_validate_xmit_skb() from net/core/sock.c to
net/core/dev.c.

This change is in preparation of the next patch, where
sk_validate_xmit_skb() will need to cast sk to a tcp_timewait_sock *,
and access member fields. Including linux/tcp.h from linux/sock.h
creates a circular dependency, and dev.c is the only current call site
of this function.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
---
Reviewed-by: Eric Dumazet <edumazet@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help