Alexander Duyck 1e94082963 ipv6: Pass proto to csum_ipv6_magic as __u8 instead of unsigned short
This patch updates csum_ipv6_magic so that it correctly recognizes that
protocol is a unsigned 8 bit value.

This will allow us to better understand what limitations may or may not be
present in how we handle the data.  For example there are a number of
places that call htonl on the protocol value.  This is likely not necessary
and can be replaced with a multiplication by ntohl(1) which will be
converted to a shift by the compiler.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-13 23:55:13 -04:00
..
2015-05-31 22:05:32 +02:00
2015-05-31 17:31:50 +02:00
2011-11-02 14:15:37 +01:00
2012-12-20 11:49:39 -08:00
2015-05-31 17:31:42 +02:00
2015-05-31 17:31:42 +02:00
2015-12-22 15:31:51 -08:00
2015-11-06 22:49:11 +01:00
2013-11-17 11:27:25 +01:00
2013-11-17 11:27:25 +01:00