projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
352bc45
)
skbuff: kill skb_flow_get_ports()
author
Nicolas Dichtel
<nicolas.dichtel@6wind.com>
Fri, 21 Feb 2025 11:07:28 +0000
(12:07 +0100)
committer
Jakub Kicinski
<kuba@kernel.org>
Mon, 24 Feb 2025 22:27:53 +0000
(14:27 -0800)
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>
include/linux/skbuff.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/skbuff.h
b/include/linux/skbuff.h
index 0b4f1889500d278be952322c0be2cd48235dbba8..21644e9215e41e7dbdeefe5e325aad65f7943bc3 100644
(file)
--- a/
include/linux/skbuff.h
+++ b/
include/linux/skbuff.h
@@
-1536,12
+1536,6
@@
u32 __skb_get_poff(const struct sk_buff *skb, const void *data,
__be32 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto,
const void *data, int hlen_proto);
-static inline __be32 skb_flow_get_ports(const struct sk_buff *skb,
- int thoff, u8 ip_proto)
-{
- return __skb_flow_get_ports(skb, thoff, ip_proto, NULL, 0);
-}
-
void skb_flow_dissector_init(struct flow_dissector *flow_dissector,
const struct flow_dissector_key *key,
unsigned int key_count);