Merge tag 'net-7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Pull networking fixes from Paolo Abeni:
"Including fixes from netfilter, Bluetooth, CAN and LoWPAN
Previous releases - regressions:
- core:
- limit pagecache folio refcount
- don't leave napi->timer queued when deleting a napi
- ipv6:
- check the scope of the best source address candidate in a VRF
- fix MSG_SPLICE_PAGES with a dst trailer in __ip6_append_data()
- do not wait for a running gc in ip6_dst_gc()
- tcp: do not BUG on an unreadable urgent byte
- mptcp: fix use-after-free of the subflow context on the delegated list
[62 lines not shown]
Merge tag 'gpio-fixes-for-v7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
Pull gpio fixes from Bartosz Golaszewski:
"GPIO core fixes:
- fix a memory leak in GPIO sysfs unexport path
- avoid undersized array bitmap in GPIO get value fastpath
GPIO driver fixes:
- fix GPIO chip leaks in unbind path in gpio-sifive and gpio-xlp
- don't allow atomic operations on sleeping chips in gpio-virtuser
- fix the device name displayed for gpio-virtuser devices before
they're active
- fix one-byte overflow in lookup entry show callback in
gpio-virtuser
- fix UAF bug in unbind path in gpio-loongson
- fix init ordering in gpio-mxc
- only publish the legacy IRQ domain after GPIO setup succeeds in
gpio-pxa
- only update the GPIOLIB's IRQ state when the line is actually
[14 lines not shown]
Merge tag 'slab-for-7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mm/slab
Pull slab fixes from Harry Yoo:
- fix for the kvfree_rcu boot parameters rcutree.rcu_min_cached_objs
and rcutree.rcu_delay_page_cache_fill_msec being silently ignored
since kvfree_rcu() moved from RCU to slab in 6.14 (Zhan Xusheng)
- fix for a possible deadlock in kvfree_rcu() under memory pressure
when rcutree.rcu_delay_page_cache_fill_msec is set to 0. The minimum
is now 1 ms (Zhan Xusheng)
* tag 'slab-for-7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mm/slab:
mm/slab: don't queue the page cache work under krcp->lock
mm/slab: restore the rcutree. prefix of the kvfree_rcu parameters
rxrpc: Fix kvec overflow when padding a path-MTU probe ACK
rxrpc_send_ACK() pads a PMTUD PING ACK out to call->peer->pmtud_trial +
sizeof(struct rxrpc_wire_header) by appending one PAGE_SIZE zeropage kvec
per page. The table it fills is call->local->kvec[], sized
1 + RXRPC_MAX_NR_JUMBO == 47 entries so that it can also hold a
maximum-size jumbo DATA packet. rxrpc_alloc_ack() has already used three
entries, so only 44 zeropage entries fit, and the loop has no upper
bound: a probe larger than 44 * PAGE_SIZE writes past the end of the
rxrpc_local allocation.
pmtud_trial can be driven that large because rxrpc_assess_MTU_size()
takes the peer MTU straight from dst_mtu(). An IPv4 output XFRM policy
with an unresolvable ESP template makes xfrm_lookup_route() return a
blackhole dst; ipv4_blackhole_route() points it at the loopback device
and dst_blackhole_mtu() returns dst_dev(dst)->mtu without the
IP_MAX_MTU clamp that ip_dst_mtu_maybe_forward() applies to ordinary
IPv4 dsts. With loopback's MTU raised inside a netns,
peer->pmtud_bad = if_mtu - hdrsize + 1 becomes huge and the probe search
[27 lines not shown]
r8169: clear RxOverflow before unmasking interrupts
When the RTL8125B runs out of RX descriptors it sets RxOverflow
(RxDescUnavail in the vendor driver) and stops receiving until
RxOverflow is cleared in IntrStatus, even after the driver has returned
the descriptors. Since commit 6994520a3328 ("r8169: disable interrupt
source RxOverflow") nothing may clear it:
1. The ring fills. The chip completes the last frames (RxOK), then
sets RxOverflow and stops receiving.
2. rtl8169_interrupt() read IntrStatus before RxOverflow was set, so it
clears only RxOK.
3. NAPI empties the ring and unmasks the interrupts.
4. The stopped receiver raises no new RxOK, and RxOverflow is not an
interrupt source, so reception stays stopped until another event,
such as TxOK, makes the handler clear all status bits.
This was observed on an RTL8125B (XID 641) on an arm64 Qualcomm QCS8550
with a 2.5 Gbit/s link, running v7.2.6 and receiving UDP at
[44 lines not shown]
net: stmmac: Advertise TX checksum offload only when supported
stmmac unconditionally adds IPv4 and IPv6 TX checksum offload to
hw_features and copies the resulting features to vlan_features. When
tx_coe is false, for example in threshold DMA mode on hardware with a
capability register, stmmac_fix_features() removes the flags from the
active features at registration, but vlan_features retains them.
DSA user ports inherit vlan_features and can therefore advertise TX
checksum offload even though the conduit cannot perform it.
Only add NETIF_F_IP_CSUM and NETIF_F_IPV6_CSUM to hw_features when
tx_coe is enabled. This prevents the unsupported features from being
propagated to DSA user ports and reports them as fixed off on the
conduit.
The issue was discovered while using stmmac as the DSA CPU port on
RZ/T2H and RZ/N2H EVKs. The fix was tested with ethtool on the switch
ports of both EVKs.
[6 lines not shown]
net/sched: act_csum: reject over-long packets before adding the offset
tcf_csum_skb_nextlayer() validates the claimed packet length @ipl by
calling pskb_may_pull(skb, ipl + ntkoff), where @ntkoff is the offset of
the network header from skb->data and @ipl is taken from the packet
itself.
For IPv6 the action honours the jumbo payload option, so @ipl is derived
from an attacker controlled 32-bit value and can be made to wrap when
@ntkoff is added:
ipl = 0xFFFFFFF2, ntkoff = 14 -> ipl + ntkoff = 0
pskb_may_pull(skb, 0) then succeeds and the ipl < hl check is also
defeated, so tcf_csum_ipv6_udp() hands the packet's own (u16) UDPLITE
length to csum_partial(), which reads up to 65535 bytes from an skb that
is only a few dozen bytes long. The ICMPv6, TCP and SCTP branches pass
ipl - ihl, which is negative as an int, so they do not read.
[22 lines not shown]
tcp_metrics: fix zero snd_cwnd_clamp from a half updated entry
tcp_init_metrics() takes snd_cwnd_clamp from the cached TCP_METRIC_CWND
when that metric is locked, i.e. the route has "cwnd lock N".
tcpm_suck_dst() refreshes a cached entry in place. It writes tcpm_lock
first and only then updates TCP_METRIC_CWND from
dst_metric_raw(dst, RTAX_CWND). Readers only hold rcu_read_lock(), so
when an entry that had no cwnd metric (value 0) is refreshed from a
route with a locked cwnd we can have:
CPU0 CPU1
tcpm_suck_dst() tcp_init_metrics()
WRITE_ONCE(tm->tcpm_lock, val)
tcp_metric_locked(tm, TCP_METRIC_CWND)
-> true
tcp_metric_get(tm, TCP_METRIC_CWND)
-> 0, not updated yet
tp->snd_cwnd_clamp = 0
[41 lines not shown]
gpio: pxa: Publish the legacy IRQ domain after GPIO setup succeeds
Probe errors and manual unbind can leave the legacy IRQ domain pointing
to the old GPIO controller.
Avoid leaving the IRQ domain behind on probe errors by creating it after
the last fallible GPIO setup step. Defer GPIO-to-IRQ lookups until then
and keep the built-in system GPIO controller bound once its IRQ and
syscore users are active.
Fixes: 7a4d5079baf2 ("gpio: pxa: parse gpio from DTS file")
Signed-off-by: Tian Xuechen <202300460064 at mail.sdu.edu.cn>
Link: https://patch.msgid.link/20261129094739.1691742-1-202300460064@mail.sdu.edu.cn
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski at oss.qualcomm.com>
gpio: virtuser: refuse the atomic attributes for lines that can sleep
The *_atomic debugfs attributes run the non-sleeping GPIO calls from a
hard irq_work, but they are created for every line, also for lines on
chips that can sleep. Using them on such a line, for example one of
gpio-sim, makes gpiolib warn and the chip driver sleep in hard
interrupt context. Reading value_atomic of a gpio-sim line gives:
WARNING: drivers/gpio/gpiolib.c:3689 at gpiod_get_value+0xb4/0x128
BUG: sleeping function called from invalid context at kernel/locking/mutex.c:623
[ BUG: Invalid wait context ]
cat/108 is trying to lock:
(mutex_){+.+.}-{4:4}, at: gpio_sim_get+0x30/0xb4
...
gpio_sim_get+0x30/0xb4
gpiochip_get+0x78/0x150
gpiod_get_raw_value_commit+0x10c/0x2ac
gpiod_get_value+0x74/0x128
gpio_virtuser_get_value_atomic+0x34/0x9c
[13 lines not shown]
gpio: virtuser: report the right dev_name before the device is live
Until the consumer is enabled, dev_name_show() prints the name the
platform device is going to get, but it uses the gpio-sim prefix:
"gpio-sim.N". The device is registered as "gpio-virtuser.N", which is
also what the lookup table built for it uses, and that is what
dev_name shows once the consumer is live.
The wrong name can also belong to a real device: with one gpio-sim
chip and one consumer, dev_name of the disabled consumer reads
"gpio-sim.0", the name of the simulated chip.
Print "gpio-virtuser.N" instead.
Fixes: 91581c4b3f29 ("gpio: virtuser: new virtual testing driver for the GPIO API")
Cc: stable at vger.kernel.org
Signed-off-by: Lin Tzu Yang <rongh7426 at gmail.com>
Link: https://patch.msgid.link/20261201142649.900883-1-rongh7426@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski at oss.qualcomm.com>
gpio: sysfs: free the chip attribute group name on unexport
gpiod_export() allocates chip_attr_group.name but gpiod_unexport()
never frees it, leaking it on every unexport.
Fixes: 4fa93223e03e ("gpio: sysfs: export the GPIO directory locally in the gpiochip<id> directory")
Cc: stable at vger.kernel.org
Signed-off-by: Arun Iyengar <aiyengar1990 at gmail.com>
Link: https://patch.msgid.link/20261130-gpio-sysfs-unexport-leak-v1-1-cbee5951fb00@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski at oss.qualcomm.com>
gpio: virtuser: fix one-byte overflow in lookup entry key show
The key attribute of a lookup entry is a configfs simple attribute, so
its store callback accepts up to 4095 bytes and keeps them in
entry->key. The show callback then prints it with
sprintf(page, "%s\n", entry->key ?: "");
With a 4095-byte key this writes 4095 characters, the newline and the
terminating NUL, 4097 bytes in total, into the 4096-byte page buffer.
KASAN reports it as a slab-out-of-bounds write in vsnprintf() when the
attribute is read back.
Use sysfs_emit(), which is bounded by PAGE_SIZE. A key of that length
is truncated in the output instead of overflowing the buffer.
Tested in an arm64 QEMU/KVM guest with KASAN: before this change,
writing a 4095-byte key and reading it back triggers the KASAN report;
with it, the read returns 4095 bytes and there is no report. Normal
[8 lines not shown]
gpio: ep93xx: skip IRQ state update before resource request
The GPIO sysfs export path calls gpiod_to_irq() from gpio_is_visible()
while creating the exported line's sysfs attributes. Installing
handle_bad_irq for the mapping makes the IRQ core mask and acknowledge it
before IRQ resources have been requested. The ep93xx mask_ack callback
then calls gpiochip_disable_irq() on a descriptor not yet marked as used
as an IRQ, triggering a warning.
Keep masking and acknowledging the hardware, but only update gpiolib's
IRQ state when the line has been reserved as an IRQ.
The warning is triggered by sysfs export:
WARNING: drivers/gpio/gpiolib.c:4350 at gpiochip_disable_irq
gpiochip_disable_irq
ep93xx_gpio_irq_mask_ack
mask_ack_irq
__irq_do_set_handler
[12 lines not shown]
gpio: avoid undersized array bitmap in get fastpath
The array get fast path passes the caller's value bitmap directly to
get_multiple(). The bitmap is sized for the requested array, but
providers such as gpio-sim process it for the entire chip. With a
128-line chip and a one-line array on a 64-bit kernel, gpio-sim's
bitmap_replace() reads and writes two words when the caller has
allocated only one. The second word is accessed even though its mask
is zero.
Use the existing per-chip path when the chip needs more bitmap words
than the caller provides. That path uses a chip-sized temporary bitmap
and copies only the requested values back.
Fixes: b17566a6b08b ("gpiolib: Implement fast processing path in get/set array")
Signed-off-by: Baek Kyu, Kim <pocj8ur4in at gmail.com>
Reviewed-by: Linus Walleij <linusw at kernel.org>
Link: https://patch.msgid.link/179599846717.10686.17869004160600605139.c258-v2@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski at oss.qualcomm.com>
Merge tag 'linux-can-fixes-for-7.4-20261202' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can
Marc Kleine-Budde says:
====================
pull-request: can 2026-12-02
this is a pull request of 1 patch for net/main.
Nguyen Cong Thanh's patch corrects the order of the RX and TX
completion, which is critical in CAN networks. This effectively
fixes the CAN-ISO-TP protocol when used in conjunction with an
STM32 bootloader peer.
* tag 'linux-can-fixes-for-7.4-20261202' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can:
can: mcp251x: deliver the TX echo before RX frames of the same pass
====================
Link: https://patch.msgid.link/20261202170513.2552933-1-mkl@pengutronix.de
Signed-off-by: Paolo Abeni <pabeni at redhat.com>
Merge tag 'ipsec-2026-12-01' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec
Steffen Klassert says:
====================
pull request (net): ipsec 2026-12-01
1) xfrm: ipcomp: account full fragment pages in truesize
Charge the decompressed IPComp skb a page-rounded truesize, so
the socket memory accounting matches the pages actually attached.
2) xfrm: esp: reset outer TCP GSO metadata on espintcp input
Reset the GSO state inherited from the outer TCP stream on
ESP-in-TCP input, so a decrypted packet isn't segmented with
stale metadata and multi-segment records no longer crash.
3) xfrm: keep the mode module pinned until destroy_state returns
Hold an extra module reference across the state destroy callback,
so an rmmod racing the state GC can't free the module text while
[115 lines not shown]
ipv6: do not wait for a running gc in ip6_dst_gc()
With more than net.ipv6.route.gc_thresh cached routes, CPUs that
allocate an IPv6 route while the route garbage collector runs can stall
for as many gc runs as there are CPUs waiting, with bottom halves
disabled.
While more than net.ipv6.route.gc_thresh cached routes exist,
dst_alloc() calls ip6_dst_gc(), which starts a gc run, fib6_run_gc(),
unless the last one ended less than gc_min_interval ago. A gc run holds
fib6_gc_lock with bottom halves disabled, and sets ip6_rt_last_gc, the
time at which the last gc run ended, only at its end. But ip6_dst_gc()
tests ip6_rt_last_gc before it takes the lock, so each CPU that passes
the test during a gc run spins for the lock and then starts a gc run of
its own.
Commit 2ac3ac8f86f2 ("ipv6: prevent fib6_run_gc() contention") in v3.11
fixed this contention, which it reported as soft lockups on a
high-traffic router with many processors, by having ip6_dst_gc() only
[24 lines not shown]
inet: reject unhashed sockets during timewait purge
A shared ehash can retain a stale pointer that is recycled as an
unhashed SYN-cookie request from another dead namespace. The namespace
recheck alone accepts that request, and
inet_csk_reqsk_queue_drop_and_put() can then operate on an uninitialized
timer.
This is the inet_twsk_purge() counterpart of the validation added for
established lookups. Recheck the nulls node after taking the reference.
If it is unhashed, drop the reference and restart the purge instead of
operating on the recycled request.
This was found by review
commit 4e2b3ef19e0e ("inet: reject unhashed sockets during established lookups")
Fixes: 740ea3c4a0b2 ("tcp: Clean up kernel listener's reqsk in inet_twsk_purge()")
Cc: stable at vger.kernel.org
Reviewed-by: Kuniyuki Iwashima <kuniyu at google.com>
[3 lines not shown]
tcp: do not BUG on an unreadable urgent byte
tcp_urg() checks that the urgent byte offset is within skb->len and
then calls skb_copy_bits(). The byte can still lie in an unreadable
Device Memory fragment. In that case skb_copy_bits() returns -EFAULT
and tcp_urg() calls BUG().
Mark the byte as TCP_URG_READ when the copy fails. Leaving
TCP_URG_NOTYET pending lets a later segment retry the old urgent
pointer: the unsigned offset can wrap into that segment's TCP header
and return a header byte through MSG_OOB. Clearing urg_data instead
would drop the urgent-byte hole and make ordinary recvmsg() hit
-EFAULT on the unreadable byte. TCP_URG_READ prevents the retry and
lets the receive path skip the hole until copied_seq passes urg_seq.
A custom LLM agent developed by the authors found this issue.
The author manually reviewed the root cause and tested the reproducer
and fix. A test-only netfilter module put a loopback MSG_OOB byte
in an unreadable skb fragment. On a 7.4.0-rc2 KASAN kernel, the
[14 lines not shown]
net: stmmac: dwmac-socfpga: disable split header on Agilex 5
On Agilex 5, received IPv4 fragments are corrupted when RX checksum
offload is on.
This was observed as corrupted downloads on a Terasic DE25-Nano over
a PPPoE connection with TCP MSS not clamped. It can be reproduced by
running ping -s 2000 to another host on the LAN: ping reports every
reply as corrupted.
Agilex 5 has an XGMAC core, and stmmac turns split header on whenever
RX checksum offload is on.
Set STMMAC_FLAG_SPH_DISABLE for Agilex 5. Other glue drivers set this
flag already. The same failure with fragmented ping is described in
commit 47f753c1108e ("net: stmmac: disable Split Header (SPH) for Intel
platforms"), which noted that according to the DesignWare Ethernet
QoS (not XGMAC) datasheet, split header is not supported for IPv4
fragments.
[9 lines not shown]
ipv6: advance the serial after rebalancing in fib6_ifup and fib6_ifdown
fib6_ifup and fib6_ifdown update the node serial before calling
rt6_multipath_rebalance. A lookup that runs between the two can select a
nexthop using the old ECMP upper bounds and read the new serial as its
cookie. The cached dst then passes dst_check although it was selected
from the old state, until the next relevant change.
Update the serial after rt6_multipath_rebalance, so that it is published
only after the routing state it describes. fib6_new_sernum allocates the
serial with a fully ordered atomic_try_cmpxchg, which orders the
rebalance before the serial update. The invalidation scope is unchanged:
fib6_ifup still updates the node and its ancestors, fib6_ifdown only the
node.
Validating dsts against the generation sampled before the lookup, as
proposed in "ipv6: validate cached dsts against the netns route
generation", relies on this order as well: a lookup that reads the new
generation must also observe the routing change it describes.
[12 lines not shown]
tcp: fix spurious RST when SYN_RECV race is lost
When the last ACK of 3WHS and the first data packet are processed on
different cpus, both can find the same req. The winner creates the
child and adds it to the accept queue. If this makes the accept queue
full, syn_recv_sock() fails for the loser and tcp_check_req() sends a
RST when tcp_abort_on_overflow is set. Only after that it finds the
req was stolen, and the packet is fed to the child.
The client gets a RST for a connection the server has accepted, and
the server application can even read the data.
Drop the req first, and do not send the RST if another cpu already
took it.
Fixes: 079096f103fa ("tcp/dccp: install syn_recv requests into ehash table")
Signed-off-by: Jiayuan Chen <jiayuan.chen at linux.dev>
Reviewed-by: Kuniyuki Iwashima <kuniyu at google.com>
Link: https://patch.msgid.link/20261125124653.289409-1-jiayuan.chen@linux.dev
Signed-off-by: Willem de Bruijn <willemb at google.com>
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull vhost fix from Michael Tsirkin:
"Another high priority bugfix. Working on more"
* tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
vhost: reject used ring batches larger than the ring
Revert "vhost: split out-of-order used ring batches at every wrap"
Revert "vhost: split out-of-order used ring batches at every wrap"
This reverts commit 5570a998b884c988dbe105430d7e2d8e9411e37e.
Commit 5570a998b884 ("vhost: split out-of-order used ring batches at
every wrap") addressed completion batches larger than the ring on the
out-of-order path, but did not cover all paths (such as the in-order
dirty-log replay loop).
Revert it; a follow-up patch will address all paths in a more consistent
manner.
Cc: stable at vger.kernel.org
Fixes: 5570a998b884 ("vhost: split out-of-order used ring batches at every wrap")
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
vhost: reject used ring batches larger than the ring
A compliant driver never has more than vq->num buffers in flight at
once, so a batch accumulated before used->idx advances never exceeds
vq->num.
Reject used count > vq->num in
vhost_add_used_n()/vhost_add_used_n_in_order().
Cc: stable at vger.kernel.org
Reported-by: Seohyeon Maeng <bioloidgp at gmail.com>
Reported-by: minki at morningstarsec.dev
Reported-by: YanXin Li <fadouse at pm.me>
Fixes: e2b3b35eb989 ("vhost_net: batch used ring update in rx")
Fixes: 4afb52c2af44 ("vhost_net: batch update used ring for datacopy TX")
Fixes: bfcde6b64769 ("vhost: fix dirty logging for in-order used ring entries")
Cc: Jason Wang <jasowangio at gmail.com>
Cc: Eugenio Pérez <eperezma at redhat.com>
Message-ID: <66327153423e98bd10778bac1f29c26ba633e02a.1796163071.git.mst at redhat.com>
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
Merge tag 'uml-fixes-7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux
Pull uml fixes from Johannes Berg:
- vector network driver (NAPI, hardening)
- rust module loading
- FD initialization in time-travel messages
* tag 'uml-fixes-7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux:
um: time-travel: don't use uninitialized fds from START ACK
um: vector: Don't clean up NAPI that was never set up
um: vector: Possible underflow and races fixes
rust: arch/um: Fix loading Rust modules
um: time-travel: don't use uninitialized fds from START ACK
When the kernel connects to an external time-travel controller, it
expects the ACK of its UM_TIMETRAVEL_START message to carry two file
descriptors: the shared memory area and a log file. It reads them with
os_rcv_fd_msg() into an uninitialized on-stack array, and then uses
both array elements whenever the message itself was received in full.
os_rcv_fd_msg() leaves the array untouched if the message came without
an SCM_RIGHTS control message. That is what any controller that does
not implement the shared memory extension sends, which the protocol
allows: such controllers are why the kernel falls back to message
based scheduling. In that case the kernel passes stack garbage to
mmap() and then close()s both values.
With CONFIG_INIT_STACK_ALL_ZERO, the default where the compiler
supports it, the garbage is 0, so the kernel closes its own stdin. The
next file descriptor it opens, the epoll instance used for IRQs, then
becomes fd 0:
[19 lines not shown]
um: vector: Don't clean up NAPI that was never set up
vector_net_open() calls vector_net_close() on any failure once
vp->fds is set, and vector_net_close() then runs napi_disable() and
netif_napi_del() unconditionally. But the NAPI context is only added
and enabled after build_transport_data() and the header buffer
allocations, so a failure in any of those disables a NAPI context that
was never added. napi_disable() locks n->dev, which is still NULL:
ip link set vec0 up (vec0:transport=gre,...,rx_key=1, no tx_key)
Kernel panic - not syncing: Kernel mode fault at addr 0x910
napi_disable+0x4e/0x9e
vector_net_close+0x2b9/0x87d
vector_net_open+0x105d/0x106f
__dev_open+0x244/0x334
Record in vp->napi_enabled whether vector_net_open() got as far as
enabling NAPI, and only disable and delete it in vector_net_close()
when it did. NAPI is still enabled only after the queues and buffers
[10 lines not shown]
Merge tag 'mmc-v7.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc
Pull MMC fixes from Ulf Hansson:
"MMC core:
- Saturate erase timeout instead of overflowing
- Use GFP_NOIO for SD cache flush buffers
- Fix probing of SDIO functions on ACPI systems
- Mark the end of a truncated scatterlist
- Clear MQRQ_XFER_SINGLE_BLOCK for new requests
- Add ISSI IS22TF128G eMMC to fixed secure erase time quirk
MMC host:
- bcm2835: Restore scatterlist after DMA setup failure
- dw_mmc:
- Fix support for clk-phase in DT
- Fix races at remove
- mmci:
- Fix support for tuning for stm32
- Do not count a data CRC error as a complete transfer
[36 lines not shown]