summaryrefslogtreecommitdiff
path: root/proto_icmpv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_icmpv4.c')
-rw-r--r--proto_icmpv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_icmpv4.c b/proto_icmpv4.c
index 55dd1b7..e6ebd43 100644
--- a/proto_icmpv4.c
+++ b/proto_icmpv4.c
@@ -39,7 +39,7 @@ static void icmp(struct pkt_buff *pkt)
if (icmp == NULL)
return;
- csum = calc_csum(icmp, pkt_len(pkt) + sizeof(*icmp), 0);
+ csum = calc_csum(icmp, pkt_len(pkt) + sizeof(*icmp));
tprintf(" [ ICMP ");
tprintf("Type (%u), ", icmp->type);
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-rex.dtsi')