[net-next PATCH 1/3] ipv4: Update parameters for csum_tcpudp_magic to their original types

2016-03-11 Thread Alexander Duyck
This patch updates all instances of csum_tcpudp_magic and csum_tcpudp_nofold to reflect the types that are usually used as the source inputs. For example the protocol field is populated based on nexthdr which is actually an unsigned 8 bit value. The length is usually populated based on skb->len

[net-next PATCH 1/3] ipv4: Update parameters for csum_tcpudp_magic to their original types

2016-03-11 Thread Alexander Duyck
This patch updates all instances of csum_tcpudp_magic and csum_tcpudp_nofold to reflect the types that are usually used as the source inputs. For example the protocol field is populated based on nexthdr which is actually an unsigned 8 bit value. The length is usually populated based on skb->len