linux/drivers/net
Catherine Sullivan 1ac025f24b gve: Fix GFP flags when allocing pages
[ Upstream commit a92f7a6fee ]

Use GFP_ATOMIC when allocating pages out of the hotpath,
continue to use GFP_KERNEL when allocating pages during setup.

GFP_KERNEL will allow blocking which allows it to succeed
more often in a low memory enviornment but in the hotpath we do
not want to allow the allocation to block.

Fixes: f5cedc84a3 ("gve: Add transmit and receive support")
Signed-off-by: Catherine Sullivan <csully@google.com>
Signed-off-by: David Awogbemila <awogbemila@google.com>
Link: https://lore.kernel.org/r/20220126003843.3584521-1-awogbemila@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-02-01 17:27:14 +01:00
..
appletalk
arcnet
bonding bonding: Fix extraction of ports from the packet headers 2022-01-27 11:05:43 +01:00
caif
can can: tcan4x5x: regmap: fix max register value 2022-02-01 17:27:13 +01:00
dsa net: dsa: hellcreek: Add missing PTP via UDP rules 2022-01-27 11:03:38 +01:00
ethernet gve: Fix GFP flags when allocing pages 2022-02-01 17:27:14 +01:00
fddi
fjes fjes: Check for error irq 2021-12-29 12:28:44 +01:00
hamradio yam: fix a memory leak in yam_siocdevprivate() 2022-02-01 17:27:13 +01:00
hippi
hyperv
ieee802154 ieee802154: atusb: fix uninit value in atusb_set_extended_addr 2022-01-11 15:35:12 +01:00
ipa net: ipa: fix atomic update in ipa_endpoint_replenish() 2022-01-27 11:05:39 +01:00
ipvlan
mctp
mdio mdio: aspeed: Fix "Link is Down" issue 2021-12-01 09:04:43 +01:00
netdevsim netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc 2021-12-22 09:32:44 +01:00
pcs net: pcs: xpcs: fix incorrect steps on disable EEE 2021-10-06 11:18:27 +01:00
phy phylib: fix potential use-after-free 2022-02-01 17:27:10 +01:00
plip
ppp ppp: ensure minimum packet size in ppp_write() 2022-01-27 11:03:52 +01:00
slip
team
usb net: usb: Correct reset handling of smsc95xx 2022-01-27 11:05:22 +01:00
vmxnet3 vmxnet3: fix minimum vectors alloc issue 2021-12-17 10:30:14 +01:00
wan net: wan: wanxl: define CROSS_COMPILE_M68K 2021-09-16 14:08:04 +01:00
wireguard wireguard: ratelimiter: use kvcalloc() instead of kvzalloc() 2021-12-08 09:04:46 +01:00
wireless iwlwifi: fix Bz NMI behaviour 2022-01-27 11:05:36 +01:00
wwan net: wwan: Fix MRU mismatch issue which may lead to data connection lost 2022-01-27 11:05:40 +01:00
xen-netback xen/netback: don't queue unlimited number of packages 2021-12-22 09:32:52 +01:00
Kconfig ifb: Depend on netfilter alternatively to tc 2021-11-18 19:15:58 +01:00
LICENSE.SRC
Makefile
Space.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c ifb: fix building without CONFIG_NET_CLS_ACT 2021-11-18 19:16:04 +01:00
loopback.c
macsec.c
macvlan.c
macvtap.c
mdio.c
mhi_net.c drivers: net: mhi: fix error path in mhi_net_newlink 2021-09-24 14:25:05 +01:00
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c tun: avoid double free in tun_free_netdev 2021-12-29 12:29:03 +01:00
veth.c veth: Do not record rx queue hint in veth_xmit 2022-01-16 09:12:44 +01:00
virtio_net.c virtio-net: fix for skb_over_panic inside big mode 2021-10-09 13:50:33 +01:00
vrf.c vrf: don't run conntrack on vrf with !dflt qdisc 2021-12-14 10:57:08 +01:00
vsockmon.c
vxlan.c nexthop: Fix memory leaks in nexthop notification chain listeners 2021-09-23 12:33:22 +01:00
xen-netfront.c xen/netfront: harden netfront against event channel storms 2021-12-22 09:32:51 +01:00