+ drivers-net-usb-usbnetc-fix-proc-net-dev-stats.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     drivers/net/usb/usbnet.c: fix /proc/net/dev stats
has been added to the -mm tree.  Its filename is
     drivers-net-usb-usbnetc-fix-proc-net-dev-stats.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: drivers/net/usb/usbnet.c: fix /proc/net/dev stats
From: Ben Kibbey <bjk@xxxxxxxxxx>

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=13589

Commit 805aaa29fa ("usbnet: convert to internal net_device_stats") breaks
device statistics with the usbnet module.

This fixes a 2.6.29->2.6.30 regression.

[akpm@xxxxxxxxxxxxxxxxxxxx: typed it in, wrote changelog, etc]
Cc: David Brownell <david-b@xxxxxxxxxxx>
Cc: Stephen Hemminger <shemminger@xxxxxxxxxx>
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Cc: stable@xxxxxxxxxx
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/net/usb/usbnet.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/net/usb/usbnet.c~drivers-net-usb-usbnetc-fix-proc-net-dev-stats drivers/net/usb/usbnet.c
--- a/drivers/net/usb/usbnet.c~drivers-net-usb-usbnetc-fix-proc-net-dev-stats
+++ a/drivers/net/usb/usbnet.c
@@ -1142,6 +1142,7 @@ static const struct net_device_ops usbne
 	.ndo_stop		= usbnet_stop,
 	.ndo_start_xmit		= usbnet_start_xmit,
 	.ndo_tx_timeout		= usbnet_tx_timeout,
+	.ndo_get_stats		= usbnet_get_stats,
 	.ndo_change_mtu		= usbnet_change_mtu,
 	.ndo_set_mac_address 	= eth_mac_addr,
 	.ndo_validate_addr	= eth_validate_addr,
_

Patches currently in -mm which might be from bjk@xxxxxxxxxx are

drivers-net-usb-usbnetc-fix-proc-net-dev-stats.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux