net:use help function of skb_checksum_start_offset to calculate offset
commit96339d6c490a32de35fa798ca7922d13a8538ecd
authorShan Wei <shanwei@cn.fujitsu.com>
Fri, 22 Apr 2011 11:07:41 +0000 (22 19:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Apr 2011 20:28:57 +0000 (28 13:28 -0700)
treebfeab66ca069f4c4d99f30c2da23ae7c78c139e2
parentf6d8bd051c391c1c0458a30b2a7abcd939329259
net:use help function of skb_checksum_start_offset to calculate offset

Although these are equivalent, but the skb_checksum_start_offset() is more readable.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tile/tilepro.c
net/ipv6/udp.c