23020ab353
Sweep additional floors of strcpy in .get_drvinfo routines
...
Perform another round of floor sweeping, converting the .get_drvinfo
routines of additional drivers from strcpy to strlcpy along with
some conversion of sprintf to snprintf.
Signed-off-by: Rick Jones <rick.jones2@hp.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2011-11-14 00:35:46 -05:00
1d70cb06db
pcnet32: constify function table
...
Function tables need to be const to prevent malicious use.
This is compile tested only.
Gleaned from PAX.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2011-09-16 19:20:20 -04:00
823dcd2506
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net
2011-08-20 10:39:12 -07:00
afc4b13df1
net: remove use of ndo_set_multicast_list in drivers
...
replace it by ndo_set_rx_mode
Signed-off-by: Jiri Pirko <jpirko@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2011-08-17 20:22:03 -07:00
b955f6ca77
amd: Move AMD (Lance) chipset drivers
...
Moves the drivers for the AMD chipsets into drivers/net/ethernet/amd/
and the necessary Kconfig and Makfile changes.
The au1000 (Alchemy) driver was also moved into the same directory
even though it is not a "Lance" driver.
CC: Peter Maydell <pmaydell@chiark.greenend.org.uk >
CC: Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de >
CC: "Maciej W. Rozycki" <macro@linux-mips.org >
CC: Donald Becker <becker@scyld.com >
CC: Sam Creasey <sammy@users.qual.net >
CC: Miguel de Icaza <miguel@nuclecu.unam.mx >
CC: Thomas Bogendoerfer <tsbogend@alpha.franken.de >
CC: Don Fry <pcnet32@frontier.com >
CC: Geert Uytterhoeven <geert@linux-m68k.org >
CC: Russell King <linux@arm.linux.org.uk >
CC: David Davies <davies@maniac.ultranet.com >
CC: "M.Hipp" <hippm@informatik.uni-tuebingen.de >
CC: Pete Popov <ppopov@embeddedalley.com >
CC: David Hinds <dahinds@users.sourceforge.net >
CC: "Roger C. Pao" <rpao@paonet.org >
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
2011-08-10 19:54:11 -07:00