diff --git a/[refs] b/[refs] index ac61766357f1..5ebd768068b0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b8f3ab4290f1e720166e888ea2a1d1d44c4d15dd +refs/heads/master: d402786ea4f8433774a812d6b8635e737425cddd diff --git a/trunk/net/core/dev.c b/trunk/net/core/dev.c index 4c58d11d3b68..8393ec408cd4 100644 --- a/trunk/net/core/dev.c +++ b/trunk/net/core/dev.c @@ -2001,7 +2001,7 @@ static bool can_checksum_protocol(unsigned long features, __be16 protocol) static int harmonize_features(struct sk_buff *skb, __be16 protocol, int features) { - if (!can_checksum_protocol(protocol, features)) { + if (!can_checksum_protocol(features, protocol)) { features &= ~NETIF_F_ALL_CSUM; features &= ~NETIF_F_SG; } else if (illegal_highdma(skb->dev, skb)) {