Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9a262d5c24c63d2b7bea05e41d9b3bfbef63e903
Commit:     9a262d5c24c63d2b7bea05e41d9b3bfbef63e903
Parent:     92ffb85dd33d62ac1dad8b44da62365f2aad413d
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Sat Jan 5 23:55:13 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Jan 8 23:29:59 2008 -0800

    [NET]: Fix netx-eth.c compilation.
    
    This was missed when commit e2ac455a18806b31c2d0da0a51d8740af5010b7a
    fixed the compile errors in drivers/net/netx-eth.c caused by
    commit 09f75cd7bf13720738e6a196cc0107ce9a5bd5a0.
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/net/netx-eth.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/netx-eth.c b/drivers/net/netx-eth.c
index 5267e03..78d34af 100644
--- a/drivers/net/netx-eth.c
+++ b/drivers/net/netx-eth.c
@@ -169,8 +169,8 @@ static void netx_eth_receive(struct net_device *ndev)
        ndev->last_rx = jiffies;
        skb->protocol = eth_type_trans(skb, ndev);
        netif_rx(skb);
-       dev->stats.rx_packets++;
-       dev->stats.rx_bytes += len;
+       ndev->stats.rx_packets++;
+       ndev->stats.rx_bytes += len;
 }
 
 static irqreturn_t
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to