]> git.baikalelectronics.ru Git - kernel.git/commit
[RTNETLINK]: Fix netdevice name corruption
authorPatrick McHardy <kaber@trash.net>
Thu, 14 Sep 2006 03:35:36 +0000 (20:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:50 +0000 (15:18 -0700)
commitc2466d80d45d4eb4c0b45cad83630a3a381b3810
tree1aa44a67101b354279d4edc98afc6c4ae1389a88
parentba5d2728855e2ba2f82cdf24abf78e6b3baaf19a
[RTNETLINK]: Fix netdevice name corruption

When changing a device by ifindex without including a IFLA_IFNAME
attribute, the ifname variable contains random garbage and is used
to change the device name.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c