]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - net/ipv4/ip_output.c
udp: remove unreachable ufo branches
authorWillem de Bruijn <willemb@google.com>
Tue, 22 Aug 2017 15:39:57 +0000 (11:39 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Aug 2017 21:27:18 +0000 (14:27 -0700)
commitab2fb7e3240d24c68f854aa1b972fe415d8d1b3e
tree28d256ab3b68830c0fd8262e81d1e0627ab8609f
parent41a130f7c61d2adb303852d3fca938ad138a96d8
udp: remove unreachable ufo branches

Remove two references to ufo in the udp send path that are no longer
reachable now that ufo has been removed.

Commit 85f1bd9a7b5a ("udp: consistently apply ufo or fragmentation")
is a fix to ufo. It is safe to revert what remains of it.

Also, no skb can enter ip_append_page with skb_is_gso true now that
skb_shinfo(skb)->gso_type is no longer set in ip_append_page/_data.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c
net/ipv4/udp.c