Re: [PATCH] Rework dev_base via list_head (v3)

2007-05-03 Thread David Miller
From: Pavel Emelianov <[EMAIL PROTECTED]> Date: Thu, 03 May 2007 19:32:54 +0400 > Netdev tree was updated today soon after I sent a patch for it, > so this version applies to it and the fs/afs/netdevices.c file > is added. Hope I am not late yet again :) > > Cleanup of dev_base list use, with the

[PATCH] Rework dev_base via list_head (v3)

2007-05-03 Thread Pavel Emelianov
Netdev tree was updated today soon after I sent a patch for it, so this version applies to it and the fs/afs/netdevices.c file is added. Hope I am not late yet again :) Cleanup of dev_base list use, with the aim to simplify making device list per-namespace. In almost every occasion, use of dev_bas

Re: [PATCH] Rework dev_base via list_head (v2)

2007-05-03 Thread Patrick McHardy
Pavel Emelianov wrote: > Patrick McHardy wrote: > >>This seems to be missing fs/afs/netdevices.c. >> > > > Hm... I've cloned the git repo this morning but there's not such file... > > $ ls fs/afs/netdevices.c > /bin/ls: fs/afs/netdevices.c: No such file or directory > > Repo was cloned from >

Re: [PATCH] Rework dev_base via list_head (v2)

2007-05-03 Thread Pavel Emelianov
Patrick McHardy wrote: > Pavel Emelianov wrote: >> Cleanup of dev_base list use, with the aim to simplify making >> device list per-namespace. In almost every occasion, use of >> dev_base variable and dev->next pointer could be easily replaced >> by for_each_netdev loop. A few most complicated pla

Re: [PATCH] Rework dev_base via list_head (v2)

2007-05-03 Thread Patrick McHardy
Pavel Emelianov wrote: > Cleanup of dev_base list use, with the aim to simplify making > device list per-namespace. In almost every occasion, use of > dev_base variable and dev->next pointer could be easily replaced > by for_each_netdev loop. A few most complicated places were > converted to using

[PATCH] Rework dev_base via list_head (v2)

2007-05-03 Thread Pavel Emelianov
Cleanup of dev_base list use, with the aim to simplify making device list per-namespace. In almost every occasion, use of dev_base variable and dev->next pointer could be easily replaced by for_each_netdev loop. A few most complicated places were converted to using first_netdev()/next_netdev(). C

Re: [PATCH] Rework dev_base via list_head

2007-05-03 Thread David Miller
From: Pavel Emelianov <[EMAIL PROTECTED]> Date: Thu, 03 May 2007 14:42:12 +0400 > My fault :( I've found some places where this was missed. > I will make a new patch shortly. Ok, thanks. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECT

Re: [PATCH] Rework dev_base via list_head

2007-05-03 Thread Pavel Emelianov
David Miller wrote: > From: Pavel Emelianov <[EMAIL PROTECTED]> > Date: Wed, 02 May 2007 17:40:56 +0400 > >> Cleanup of dev_base list use, with the aim to simplify making >> device list per-namespace. In almost every occasion, use of >> dev_base variable and dev->next pointer could be easily repla

Re: [PATCH] Rework dev_base via list_head

2007-05-03 Thread David Miller
From: Pavel Emelianov <[EMAIL PROTECTED]> Date: Wed, 02 May 2007 17:40:56 +0400 > Cleanup of dev_base list use, with the aim to simplify making > device list per-namespace. In almost every occasion, use of > dev_base variable and dev->next pointer could be easily replaced > by for_each_netdev loo

[PATCH] Rework dev_base via list_head

2007-05-02 Thread Pavel Emelianov
Cleanup of dev_base list use, with the aim to simplify making device list per-namespace. In almost every occasion, use of dev_base variable and dev->next pointer could be easily replaced by for_each_netdev loop. A few most complicated places were converted to using first_netdev()/next_netdev(). F