[PATCH 0/2] do not disable sg when packet requires no checksum

From: Ed Cashin
Date: Wed Sep 19 2012 - 21:46:06 EST


This two-part patchset replaces an earlier net-only patch that
added an explicit check for the AoE protocol to harmonize_features
in net/core/dev.c.

Following the suggestions of Ben Hutchings, this patchset makes
the decision in the network layer protocol agnostic instead of
using ETH_P_AOE as a special case. It relies on fresh skbs being
CHECKSUM_NONE but makes that explicit with an assertion.

Ed L. Cashin (2):
aoe: assert AoE packets marked as requiring no checksum
net: do not disable sg for packets requiring no checksum

drivers/block/aoe/aoecmd.c | 1 +
net/core/dev.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)

--
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/