]> git.baikalelectronics.ru Git - kernel.git/commit
[NET] dev_change_name: ignore changes to same name
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 26 Oct 2007 10:53:42 +0000 (03:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Oct 2007 10:53:42 +0000 (03:53 -0700)
commitb5c8056d6c757ef59ef5b35c0775ad735cfa18db
tree37df506f4905cf5a4dbd64c0680d8b98e9166c4b
parent33a6e20e547f04f1144780e3d0c580a9c8f4e2c7
[NET] dev_change_name: ignore changes to same name

Prevent error/backtrace from dev_rename() when changing
name of network device to the same name. This is a common
situation with udev and other scripts that bind addr to device.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c