summaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-01-28 17:06:54 +0100
committerDavid S. Miller <davem@davemloft.net>2022-01-29 18:53:07 +0100
commit4f0e30407ef6f2075b8e86d54be42e787087cd61 (patch)
treeddf41029c63c3d56069c229b95cc3de5f952f0a6 /include/net/ip.h
parentMerge branch 'Cadence-ZyncMP-SGMII' (diff)
downloadlinux-4f0e30407ef6f2075b8e86d54be42e787087cd61.tar.xz
linux-4f0e30407ef6f2075b8e86d54be42e787087cd61.zip
ipv4: drop fragmentation code from ip_options_build()
Since v2.5.44 and addition of ip_options_fragment() ip_options_build() does not render headers for fragments directly. @is_frag is always 0. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r--include/net/ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index b51bae43b0dd..fdbab0c00fca 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -712,7 +712,7 @@ int ip_forward(struct sk_buff *skb);
*/
void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
- __be32 daddr, struct rtable *rt, int is_frag);
+ __be32 daddr, struct rtable *rt);
int __ip_options_echo(struct net *net, struct ip_options *dopt,
struct sk_buff *skb, const struct ip_options *sopt);