qeth: change checksumming default for HiperSockets
authorFrank Blaschka <frank.blaschka@de.ibm.com>
Mon, 8 Mar 2010 20:36:57 +0000 (20:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2010 15:32:26 +0000 (07:32 -0800)
Deactivate inbound checksumming on HiperSocket is a valid but
dangerous optimization in case the frame is routed from an OSA
network to an HiperSockets network. To go for sure we change the
default to software checksumming.

Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c

index 834830a4866d85201aec21832468f138d602aca0..c9f5af5fe9f0e361c851da23c58f34aff7deab0b 100644 (file)
@@ -1114,8 +1114,6 @@ static int qeth_setup_card(struct qeth_card *card)
        card->ipato.enabled = 0;
        card->ipato.invert4 = 0;
        card->ipato.invert6 = 0;
-       if (card->info.type == QETH_CARD_TYPE_IQD)
-               card->options.checksum_type = NO_CHECKSUMMING;
        /* init QDIO stuff */
        qeth_init_qdio_info(card);
        return 0;