]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: drop fragmentation code from ip_options_build()
authorJakub Kicinski <kuba@kernel.org>
Fri, 28 Jan 2022 16:06:54 +0000 (08:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jan 2022 17:53:07 +0000 (17:53 +0000)
commit4f0e30407ef6f2075b8e86d54be42e787087cd61
treeddf41029c63c3d56069c229b95cc3de5f952f0a6
parentff58831fa02deb42fd731f830d8d9ec545573c7c
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>
include/net/ip.h
net/ipv4/ip_options.c
net/ipv4/ip_output.c