ip: unconditionally set cork gso_size
authorWillem de Bruijn <willemb@google.com>
Fri, 6 Jul 2018 14:12:59 +0000 (10:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Jul 2018 01:58:49 +0000 (10:58 +0900)
commitfbf47813607ba8c4e5c5b81da3c47fc66ac314b1
tree9ab9ed3c9a6a5018df2faec2dab0b896aacd3bca
parent678ca42d688534adfc780b150abefaaac7c86687
ip: unconditionally set cork gso_size

Now that ipc(6)->gso_size is correctly initialized in all callers of
ip(6)_setup_cork, it is safe to unconditionally pass it to the cork.

Link: http://lkml.kernel.org/r/20180619164752.143249-1-willemdebruijn.kernel@gmail.com
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c
net/ipv6/ip6_output.c