On Thu, 2015-05-14 at 22:27 -0400, David Miller wrote:
> From: Vladislav Yasevich <[email protected]>
> Date: Thu, 14 May 2015 20:34:08 -0400
>
> > It was reported that trancerout6 would cause
> > a kernel to crash when trying to compute checksums
> > on raw UDP packets. The cause was the check in
> > __ip6_append_data that would attempt to use
> > partial checksums on the packet. However,
> > raw sockets do not initialize partial checksum
> > fields so partial checksums can't be used.
> >
> > Solve this the same way IPv4 does it. raw sockets
> > pass transhdrlen value of 0 to ip_append_data which
> > causes the checksum to be computed in software. Use
> > the same check in ip6_append_data (check transhdrlen).
> >
> > Reported-by: Wolfgang Walter <[email protected]>
> > CC: Wolfgang Walter <[email protected]>
> > CC: Eric Dumazet <[email protected]>
> > Signed-off-by: Vladislav Yasevich <[email protected]>
>
> Applied.... This seems like -stable material? If so, how far
> back?
Arg, the Fixes: tag is missing :(
Fixes: 32dce968dd98 ("ipv6: Allow for partial checksums on non-ufo packets")
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html