Re: [PATCH 1/2] Remove unnecessary locks from rtnetlink

2008-02-07 Thread Laszlo Attila Toth
David Miller írta: From: Laszlo Attila Toth <[EMAIL PROTECTED]> Date: Fri, 1 Feb 2008 17:07:33 +0100 The do_setlink() function is protected by rtnl, additional locks are unnecessary. and the set_operstate() function is called from protected parts. Locks removed from both functions. The set_o

Re: [PATCH 1/2] Remove unnecessary locks from rtnetlink

2008-02-05 Thread David Miller
From: Laszlo Attila Toth <[EMAIL PROTECTED]> Date: Fri, 1 Feb 2008 17:07:33 +0100 > The do_setlink() function is protected by rtnl, additional locks are > unnecessary. > and the set_operstate() function is called from protected parts. Locks removed > from both functions. > > The set_operstate()

[PATCH 1/2] Remove unnecessary locks from rtnetlink

2008-02-01 Thread Laszlo Attila Toth
The do_setlink() function is protected by rtnl, additional locks are unnecessary. and the set_operstate() function is called from protected parts. Locks removed from both functions. The set_operstate() is also called from rtnl_create_link() and from no other places. In rtnl_create_link() none of