mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
0276e1f760
When upstream kernel introduced commit c55fa3cccbc2c672e7f118be8f7484e53a8e9e77 we incorrectly updated our hack integration patch that updates atm/common.c +++ b/net/atm/common.c @@ -62,10 +62,16 @@ static void vcc_remove_socket(struct soc write_unlock_irq(&vcc_sklist_lock); } +struct sk_buff* (*ifx_atm_alloc_tx)(struct atm_vcc *, unsigned int) = NULL; +EXPORT_SYMBOL(ifx_atm_alloc_tx); + static bool vcc_tx_ready(struct atm_vcc *vcc, unsigned int size) { struct sock *sk = sk_atm(vcc); + if (ifx_atm_alloc_tx != NULL) + return ifx_atm_alloc_tx(vcc, size) The correct solution is to drop our ifx_atm_alloc_tx replacement hack entirely and let the kernel do its thing. In reality neither pppoatm or BR2684 interfaces actually hit this code, so the incorrect integration would only be noticed with direct socket calls which we are unaware of a use-case. This is not the solution to pppoatm vc-mux failing to work which started the whole investigation, but let's fix it up anyway. With sincerest thanks to David Woodhouse <dwmw2@infradead.org> & Mathias Kresin <dev@kresin.me>. Tested-on: lantiq, BT HomeHub 5a Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> |
||
---|---|---|
.. | ||
0001-MIPS-lantiq-add-pcie-driver.patch | ||
0004-MIPS-lantiq-add-atm-hack.patch | ||
0008-MIPS-lantiq-backport-old-timer-code.patch | ||
0018-MTD-nand-lots-of-xrx200-fixes.patch | ||
0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch | ||
0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch | ||
0023-NET-PHY-add-led-support-for-intel-xway.patch | ||
0024-MIPS-lantiq-autoselect-soc-rev-matching-fw.patch | ||
0025-NET-MIPS-lantiq-adds-xrx200-net.patch | ||
0027-01-net-phy-intel-xway-add-VR9-version-number.patch | ||
0027-02-net-phy-intel-xway-add-VR9-v1.1-phy-ids.patch | ||
0028-NET-lantiq-various-etop-fixes.patch | ||
0030-GPIO-add-named-gpio-exports.patch | ||
0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch | ||
0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch | ||
0042-arch-mips-increase-io_space_limit.patch | ||
0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch | ||
0051-MIPS-lantiq-improve-USB-initialization.patch | ||
0101-find_active_root.patch | ||
0151-lantiq-ifxmips_pcie-use-of.patch | ||
0152-lantiq-VPE.patch | ||
0154-lantiq-pci-bar11mask-fix.patch | ||
0155-lantiq-VPE-nosmp.patch | ||
0160-owrt-lantiq-multiple-flash.patch | ||
0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch | ||
0301-xrx200-add-gphy-clk-src-device-tree-binding.patch | ||
0400-Revert-MIPS-smp-mt-Use-CPU-interrupt-controller-IPI-.patch |