Re: [PATCH] netiucv: Hold rtnl between name allocation and device registration.

2013-06-13 Thread David Miller
From: Benjamin Poirier Date: Thu, 13 Jun 2013 09:09:47 -0400 > fixes a race condition between concurrent initializations of netiucv devices > that try to use the same name. > > sysfs: cannot create duplicate filename '/devices/iucv/netiucv2' > [...] > Call Trace: > ([<002edea4>] sysfs_ad

[PATCH] netiucv: Hold rtnl between name allocation and device registration.

2013-06-13 Thread Benjamin Poirier
fixes a race condition between concurrent initializations of netiucv devices that try to use the same name. sysfs: cannot create duplicate filename '/devices/iucv/netiucv2' [...] Call Trace: ([<002edea4>] sysfs_add_one+0xb0/0xdc) [<002eecd4>] create_dir+0x80/0xfc [<002eee