Commit:     81103a52f26d8630aa0c1dcddccaebb04d7922a8
Parent:     41380930d2cbdc0abf7513a675864258b7ac973d
Author:     Denis V. Lunev <[EMAIL PROTECTED]>
AuthorDate: Wed Dec 12 10:47:38 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 14:57:24 2008 -0800

    [NETNS]: network namespace was passed into dev_getbyhwaddr but not used
    Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/core/dev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/core/dev.c b/net/core/dev.c
index 12f66e5..4ced383 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -675,7 +675,7 @@ struct net_device *dev_getbyhwaddr(struct net *net, 
unsigned short type, char *h
-       for_each_netdev(&init_net, dev)
+       for_each_netdev(net, dev)
                if (dev->type == type &&
                    !memcmp(dev->dev_addr, ha, dev->addr_len))
                        return dev;
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

Reply via email to