OSDN Git Service

net/vmxnet3: Fix incorrect debug message
authorDana Rubin <dana.rubin@ravellosystems.com>
Tue, 28 Jul 2015 18:44:50 +0000 (21:44 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 4 Aug 2015 08:41:22 +0000 (09:41 +0100)
commitb9f7c377df4f04e9119cb0e917438dd37ef34029
tree5d99a678a147b9dfc076a03f4f30722570744abf
parente95edefbd0559e1d0aa09549641b5d9af1f96fac
net/vmxnet3: Fix incorrect debug message

From: Dana Rubin <dana.rubin@ravellosystems.com>

In commit 80da311d81,
   "net/vmxnet3: Fix RX TCP/UDP checksum on partially summed packets"
a debug message was introduced in vmxnet3_rx_need_csum_calculate() for
an unlikely input condition.

The message accidentally printed 'len' variable instead of 'pkt_len'.
Fix, providing the correct argument.

Signed-off-by: Dana Rubin <dana.rubin@ravellosystems.com>
Signed-off-by: Shmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Message-id: 1438109090-18957-1-git-send-email-shmulik.ladkani@ravellosystems.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/net/vmxnet3.c