net: fix can_checksum_protocol() arguments swap
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 19 Jan 2011 00:51:36 +0000 (00:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jan 2011 22:15:21 +0000 (14:15 -0800)
commitd402786ea4f8433774a812d6b8635e737425cddd
tree65c31c4cccccc6b28027dc7e20f50baaaf497657
parentb8f3ab4290f1e720166e888ea2a1d1d44c4d15dd
net: fix can_checksum_protocol() arguments swap

commit 0363466866d901fbc (net offloading: Convert checksums to use
centrally computed features.) mistakenly swapped can_checksum_protocol()
arguments.

This broke IPv6 on bnx2 for instance, on NIC without TCPv6 checksum
offloads.

Reported-by: Hans de Bruin <jmdebruin@xmsnet.nl>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c