aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-10-19 12:29:15 +0200
committerDavid S. Miller <davem@davemloft.net>2013-10-19 19:20:52 -0400
commite36d3ff91130002c7c2d1d6a55556991da1daecc (patch)
treed92b582ce75873973b4fed7d4b2c1dd5fdf18b82 /net/ipv6/ip6_output.c
parentnet: fix cipso packet validation when !NETLABEL (diff)
downloadlinux-dev-e36d3ff91130002c7c2d1d6a55556991da1daecc.tar.xz
linux-dev-e36d3ff91130002c7c2d1d6a55556991da1daecc.zip
udp6: respect IPV6_DONTFRAG sockopt in case there are pending frames
if up->pending != 0 dontfrag is left with default value -1. That causes that application that do: sendto len>mtu flag MSG_MORE sendto len>mtu flag 0 will receive EMSGSIZE errno as the result of the second sendto. This patch fixes it by respecting IPV6_DONTFRAG socket option. introduced by: commit 4b340ae20d0e2366792abe70f46629e576adaf5e "IPv6: Complete IPV6_DONTFRAG support" Signed-off-by: Jiri Pirko <jiri@resnulli.us> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions