diff options
| author | Ingo Molnar <mingo@kernel.org> | 2017-08-10 12:02:26 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2017-08-10 12:02:26 +0200 |
| commit | 1ccb2f4e8e435a53bb378e8b092087f091754aa6 (patch) | |
| tree | ba120509947138915e06ad39cca5f065bd99f42f /net/core/dev.c | |
| parent | c3a3800fe46f00ceeeb181cc07cc4fdaed4574f1 (diff) | |
| parent | 9b231d9f47c6114d317ce28cff92a74ad80547f5 (diff) | |
Merge branch 'perf/urgent' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'net/core/dev.c')
| -rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 8515f8fe0460..ce15a06d5558 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2739,7 +2739,7 @@ static inline bool skb_needs_check(struct sk_buff *skb, bool tx_path) { if (tx_path) return skb->ip_summed != CHECKSUM_PARTIAL && - skb->ip_summed != CHECKSUM_NONE; + skb->ip_summed != CHECKSUM_UNNECESSARY; return skb->ip_summed == CHECKSUM_NONE; } |
