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
..
2014-09-18 10:54:36 +02:00
2015-03-04 00:23:23 -05:00
2015-06-28 16:55:44 -07:00
2015-11-18 16:17:38 -05:00
2015-03-06 21:50:02 -05:00
2016-03-01 16:07:29 -05:00
2015-09-17 17:18:37 -07:00
2016-02-16 20:21:48 -05:00
2015-12-14 23:52:00 -05:00
2014-09-30 01:02:26 -04:00
2015-09-24 09:34:43 +09:00
2016-03-10 14:42:03 -05:00
2016-02-21 22:00:28 -05:00
2015-10-23 06:26:42 -07:00
2016-03-11 12:04:37 -05:00
2014-06-02 11:00:41 -07:00
2015-03-12 22:58:12 -04:00
2015-10-26 22:24:22 -07:00
2016-03-11 15:14:26 -05:00