openwrtv3/target/linux/lantiq/patches-4.14
Kevin Darbyshire-Bryant 0276e1f760 lantiq: atm: fix ifx_atm driver integration
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>
2018-06-18 15:26:41 +02:00
..
0001-MIPS-lantiq-add-pcie-driver.patch kernel: update kernel 4.14 to 4.14.32 2018-04-03 23:26:45 +02:00
0004-MIPS-lantiq-add-atm-hack.patch lantiq: atm: fix ifx_atm driver integration 2018-06-18 15:26:41 +02:00
0008-MIPS-lantiq-backport-old-timer-code.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0018-MTD-nand-lots-of-xrx200-fixes.patch lantiq: kernel 4.14: copy patches, config and dts files 2018-02-20 19:25:17 +01:00
0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch kernel: m25p80: allow fallback from spi_flash_read to regular SPI transfer 2018-02-26 19:20:06 +01:00
0023-NET-PHY-add-led-support-for-intel-xway.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0024-MIPS-lantiq-autoselect-soc-rev-matching-fw.patch kernel: bump 4.14 to 4.14.48 2018-06-05 22:54:00 +03:00
0025-NET-MIPS-lantiq-adds-xrx200-net.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0027-01-net-phy-intel-xway-add-VR9-version-number.patch lantiq: intel-xway: add vr9 v1.1 phy support 2018-03-23 20:31:49 +01:00
0027-02-net-phy-intel-xway-add-VR9-v1.1-phy-ids.patch lantiq: intel-xway: add vr9 v1.1 phy support 2018-03-23 20:31:49 +01:00
0028-NET-lantiq-various-etop-fixes.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0030-GPIO-add-named-gpio-exports.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0042-arch-mips-increase-io_space_limit.patch lantiq: kernel 4.14: copy patches, config and dts files 2018-02-20 19:25:17 +01:00
0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0051-MIPS-lantiq-improve-USB-initialization.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0101-find_active_root.patch kernel: make mtd patches apply again 2018-03-15 00:42:41 +01:00
0151-lantiq-ifxmips_pcie-use-of.patch lantiq: kernel 4.14: copy patches, config and dts files 2018-02-20 19:25:17 +01:00
0152-lantiq-VPE.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0154-lantiq-pci-bar11mask-fix.patch lantiq: kernel 4.14: copy patches, config and dts files 2018-02-20 19:25:17 +01:00
0155-lantiq-VPE-nosmp.patch lantiq: kernel 4.14: copy patches, config and dts files 2018-02-20 19:25:17 +01:00
0160-owrt-lantiq-multiple-flash.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch lantiq: kernel 4.14: copy patches, config and dts files 2018-02-20 19:25:17 +01:00
0301-xrx200-add-gphy-clk-src-device-tree-binding.patch lantiq: kernel 4.14: update patches and config 2018-02-20 19:25:17 +01:00
0400-Revert-MIPS-smp-mt-Use-CPU-interrupt-controller-IPI-.patch lantiq: kernel 4.14: don't use CPU interrupt controller IPI IRQ domain support 2018-02-20 19:25:17 +01:00