netdev: use non-racy method for proc entries creation
Use proc_create()/proc_create_data() to make sure that ->proc_fops and ->data be setup before gluing PDE to main tree. Signed-off-by:Denis V. Lunev <den@openvz.org> Cc: Jeff Garzik <jgarzik@pobox.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- drivers/net/bonding/bond_main.c 3 additions, 6 deletionsdrivers/net/bonding/bond_main.c
- drivers/net/ibmveth.c 3 additions, 6 deletionsdrivers/net/ibmveth.c
- drivers/net/irda/vlsi_ir.c 2 additions, 3 deletionsdrivers/net/irda/vlsi_ir.c
- drivers/net/pppoe.c 1 addition, 3 deletionsdrivers/net/pppoe.c
- drivers/net/pppol2tp.c 2 additions, 2 deletionsdrivers/net/pppol2tp.c
- drivers/net/wireless/airo.c 32 additions, 52 deletionsdrivers/net/wireless/airo.c
Loading
Please register or sign in to comment