linux_dsm_epyc7002/drivers/net/ethernet
Vladimir Zapolskiy 748a7295d7 net: netxen: correct sysfs bin attribute return code
If read() syscall requests unexpected number of bytes from "dimm" binary
attribute file, return EINVAL instead of EPERM.

At the same time pin down sysfs file size to the fixed
sizeof(struct netxen_dimm_cfg), which allows to exploit some missing
sanity checks from kernfs (file boundary checks vs offset etc.)

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-27 00:25:33 -04:00
..
3com
8390 net:treewide: Fix typo in drivers/net 2015-04-27 13:40:53 -04:00
adaptec
adi
aeroflex
agere
allwinner
alteon
altera altera_tse: Correct rx packet length 2015-04-29 15:19:34 -04:00
amd net: amd-xgbe: Add hardware dependency 2015-05-09 16:24:15 -04:00
apm net: xgene_enet: Set hardware dependency 2015-05-09 16:24:15 -04:00
apple powerpc updates for 4.1 2015-04-16 13:53:32 -05:00
arc ethernet: arc: ARC_EMAC and EMAC_ROCKCHIP should depend on HAS_DMA 2015-04-23 14:09:58 -04:00
atheros trivial: net: atl1e: atl1e_hw.h: fix 0x0x prefix 2015-04-29 14:56:39 -04:00
broadcom bnx2x: limit fw delay in kdump to 5s after boot 2015-05-10 19:23:22 -04:00
brocade
cadence net: macb: Disable half duplex gigabit on Zynq 2015-05-22 14:58:09 -04:00
calxeda
chelsio cxgb4: Fix MC1 memory offset calculation 2015-04-29 15:50:16 -04:00
cirrus
cisco
davicom
dec
dlink
emulex bridge/nl: remove wrong use of NLM_F_MULTI 2015-04-29 14:59:16 -04:00
faraday
freescale net: fec: Fix RGMII-ID mode 2015-04-30 16:48:53 -04:00
fujitsu
hisilicon net: hip04: Make tx coalesce timer actually work 2015-04-15 17:21:29 -04:00
hp
i825xx
ibm net/ibm/emac: fix size of emac dump memory areas 2015-05-25 16:38:55 -04:00
icplus
intel e1000e: Add pm_qos header 2015-05-12 23:22:03 -04:00
marvell pxa168: fix double deallocation of managed resources 2015-04-26 16:05:49 -04:00
mellanox net/mlx4: Avoid 'may be used uninitialized' warnings 2015-05-14 22:28:48 -04:00
micrel
microchip
moxa
myricom ethernet: myri10ge: use arch_phys_wc_add() 2015-04-23 14:28:14 -04:00
natsemi
neterion s2io: Update driver to use dma_wmb 2015-04-08 12:15:14 -04:00
nuvoton
nvidia
nxp
octeon
oki-semi
packetengines
pasemi
qlogic net: netxen: correct sysfs bin attribute return code 2015-05-27 00:25:33 -04:00
qualcomm net: qca_spi: Fix possible race during probe 2015-05-11 11:01:20 -04:00
rdc
realtek r8169: Do not use dev_kfree_skb in xmit path 2015-05-04 00:06:55 -04:00
renesas
rocker rocker: fix a neigh entry leak issue 2015-05-15 21:20:16 -04:00
samsung
seeq
sfc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-04-17 16:31:08 -04:00
sgi
silan
sis
smsc Revert "Revert "smc91x: retrieve IRQ and trigger flags in a modern way"" 2015-05-04 15:12:33 -04:00
stmicro net: stmmac: create one debugfs dir per net-device 2015-05-25 17:38:23 -04:00
sun sungem, sunhme, sunvnet: Update drivers to use dma_wmb/rmb 2015-04-08 12:15:14 -04:00
tehuti
ti net: netcp: remove call to netif_carrier_(on/off) for MAC to Phy interface 2015-04-27 23:11:49 -04:00
tile This is the final removal (after several years!) of the obsolete cpus_* 2015-04-20 10:19:03 -07:00
toshiba toshiba: Remove celleb from Kconfig options 2015-04-14 14:57:10 -04:00
tundra
via
wiznet
xilinx net: ll_temac: Fix DMA map size bug 2015-05-12 23:17:42 -04:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c