summaryrefslogtreecommitdiff
path: root/net/caif/caif_socket.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@free.fr>2010-05-19 14:12:19 +0400
committerDavid S. Miller <davem@davemloft.net>2010-05-24 10:24:36 +0400
commit8ce6cebc2f126f3ecf2d80746ea54245adf18057 (patch)
tree6efcd84b0a8d00aede2c52944bc8eaecc02e67de /net/caif/caif_socket.c
parenta4ed89cb92f93d406ac45fe5507228a2475e32ba (diff)
downloadlinux-8ce6cebc2f126f3ecf2d80746ea54245adf18057.tar.xz
net-2.6 : V2 - fix dev_get_valid_name
the commit: commit d90310243fd750240755e217c5faa13e24f41536 Author: Octavian Purdila <opurdila@ixiacom.com> Date: Wed Nov 18 02:36:59 2009 +0000 net: device name allocation cleanups introduced a bug when there is a hash collision making impossible to rename a device with eth%d. This bug is very hard to reproduce and appears rarely. The problem is coming from we don't pass a temporary buffer to __dev_alloc_name but 'dev->name' which is modified by the function. A detailed explanation is here: http://marc.info/?l=linux-netdev&m=127417784011987&w=2 Changelog: V2 : replaced strings comparison by pointers comparison Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr> Reviewed-by: Octavian Purdila <opurdila@ixiacom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/caif_socket.c')
0 files changed, 0 insertions, 0 deletions