Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

skbuff: kill skb_flow_get_ports()

Since commit a815bde56b15 ("net, bonding: Refactor bond_xmit_hash for use
with xdp_buff"), this function is not used anymore.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250221110941.2041629-2-nicolas.dichtel@6wind.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Nicolas Dichtel and committed by
Jakub Kicinski
89ac4a59 352bc451

-6
-6
include/linux/skbuff.h
··· 1536 1536 __be32 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto, 1537 1537 const void *data, int hlen_proto); 1538 1538 1539 - static inline __be32 skb_flow_get_ports(const struct sk_buff *skb, 1540 - int thoff, u8 ip_proto) 1541 - { 1542 - return __skb_flow_get_ports(skb, thoff, ip_proto, NULL, 0); 1543 - } 1544 - 1545 1539 void skb_flow_dissector_init(struct flow_dissector *flow_dissector, 1546 1540 const struct flow_dissector_key *key, 1547 1541 unsigned int key_count);