diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-05-13 04:33:12 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-13 04:33:13 +0300 |
| commit | 34c78dff59a25110a4ce50c208e42a91490fe615 (patch) | |
| tree | 02020031324b96f80ac3eff8cc29b237c6f503d8 /include/linux | |
| parent | b588019e85f490696bf19f0747e93f14b1563927 (diff) | |
| parent | 4a64f97325776cdab5ec35c0e78b2bdd1468d90a (diff) | |
| download | linux-34c78dff59a25110a4ce50c208e42a91490fe615.tar.xz | |
Merge branch 'net-use-ip_outnoroutes-drop-reason'
Eric Dumazet says:
====================
net: use IP_OUTNOROUTES drop reason
First patch changes sk_skb_reason_drop() sock to be const.
Second and last patch add SKB_DROP_REASON_IP_OUTNOROUTES
to both tcp_v6_send_response() and inet6_csk_xmit().
====================
Link: https://patch.msgid.link/20260511072310.1094859-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/skbuff.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 2bcf78a4de7b..746e741a8ef9 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -1313,7 +1313,8 @@ static inline bool skb_data_unref(const struct sk_buff *skb, return true; } -void __fix_address sk_skb_reason_drop(struct sock *sk, struct sk_buff *skb, +void __fix_address sk_skb_reason_drop(const struct sock *sk, + struct sk_buff *skb, enum skb_drop_reason reason); static inline void |
