You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/generic/pending-4.9
Kevin Darbyshire-Bryant 3698b34a00 kernel: gen_stats: Fix netlink stats dumping in the presence of padding
Backport hot off the press upstream netlink patch.  Fixes stats display
from CAKE qdisc on MIPS allowing us to bump CAKE to latest version.

The gen_stats facility will add a header for the toplevel nlattr of type
TCA_STATS2 that contains all stats added by qdisc callbacks. A reference
to this header is stored in the gnet_dump struct, and when all the
per-qdisc callbacks have finished adding their stats, the length of the
containing header will be adjusted to the right value.

However, on architectures that need padding (i.e., that don't set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS), the padding nlattr is added
before the stats, which means that the stored pointer will point to the
padding, and so when the header is fixed up, the result is just a very
big padding nlattr. Because most qdiscs also supply the legacy TCA_STATS
struct, this problem has been mostly invisible, but we exposed it with
the netlink attribute-based statistics in CAKE.

Fix the issue by fixing up the stored pointer if it points to a padding
nlattr.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
6 years ago
..
100-MIPS-fix-cache-flushing-for-highmem-pages.patch
110-ehci_hcd_ignore_oc.patch
120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch kernel: bump 4.9 to 4.9.82 6 years ago
130-add-linux-spidev-compatible-si3210.patch
131-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch
140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch kernel: bump to 4.9.105 6 years ago
141-jffs2-add-RENAME_EXCHANGE-support.patch kernel: bump to 4.9.105 6 years ago
150-bridge_allow_receiption_on_disabled_port.patch
161-mtd-part-add-generic-parsing-of-linux-part-probe.patch kernel: backport mtd patch for minor partitioning cleanup 6 years ago
170-MIPS-PCI-add-controllers-before-the-specified-head.patch
190-2-5-e1000e-Fix-wrong-comment-related-to-link-detection.patch kernel: bump 4.9 to 4.9.96 6 years ago
201-extra_optimization.patch kernel: bump 4.9 to 4.9.85 6 years ago
203-kallsyms_uncompressed.patch
205-backtrace_module_info.patch
206-mips-disable-vdso.patch
240-remove-unsane-filenames-from-deps_initramfs-list.patch
261-enable_wilink_platform_without_drivers.patch
300-mips_expose_boot_raw.patch kernel: bump 4.9 to 4.9.100 6 years ago
302-mips_no_branch_likely.patch
304-mips_disable_fpu.patch kernel: bump 4.9 to 4.9.100 6 years ago
305-mips_module_reloc.patch mips: fix dynamic ftrace 6 years ago
306-mips_mem_functions_performance.patch
307-mips_highmem_offset.patch
308-mips32r2_tune.patch kernel: bump 4.9 to 4.9.110 6 years ago
310-arm_module_unresolved_weak_sym.patch
330-MIPS-kexec-Accept-command-line-parameters-from-users.patch
332-arc-add-OWRTDTB-section.patch
333-arc-enable-unaligned-access-in-kernel-mode.patch
340-MIPS-mm-remove-mips_dma_mapping_error.patch kernel: MIPS compile out no-op DMA mapping ops where possible 7 years ago
341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch kernel: bump 4.9 to 4.9.100 6 years ago
400-mtd-add-rootfs-split-support.patch kernel: backport mtd patch for minor partitioning cleanup 6 years ago
401-mtd-add-support-for-different-partition-parser-types.patch kernel: backport mtd patch for minor partitioning cleanup 6 years ago
402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch kernel: backport mtd patch for minor partitioning cleanup 6 years ago
403-mtd-hook-mtdsplit-to-Kbuild.patch
404-mtd-add-more-helper-functions.patch kernel: backport mtd patch for minor partitioning cleanup 6 years ago
411-mtd-partial_eraseblock_write.patch kernel: backport mtd patch for minor partitioning cleanup 6 years ago
412-mtd-partial_eraseblock_unlock.patch kernel: backport mtd implementation for "compatible" in "partitions" subnode 7 years ago
420-mtd-redboot_space.patch
430-mtd-add-myloader-partition-parser.patch
431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch
432-mtd-bcm47xxpart-detect-T_Meter-partition.patch
440-block2mtd_init.patch
441-block2mtd_probe.patch
450-mtd-m25p80-allow-fallback-from-spi_flash_read-to-reg.patch kernel: m25p80: allow fallback from spi_flash_read to regular SPI transfer 6 years ago
460-mtd-cfi_cmdset_0002-no-erase_suspend.patch
461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch kernel: bump 4.9 to 4.9.100 6 years ago
465-m25p80-mx-disable-software-protection.patch
466-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch generic: unlock Winbond flash on boot 7 years ago
470-mtd-spi-nor-support-limiting-4K-sectors-support-base.patch kernel: bump 4.9 to 4.9.77 7 years ago
476-mtd-spi-nor-add-eon-en25q128.patch
477-mtd-add-spi-nor-add-mx25u3235f.patch
478-mtd-spi-nor-Add-support-for-XM25QH64A-and-XM25QH128A.patch kernel: Add support for XM25QH64A and XM25QH128A SPI NOR flash 6 years ago
479-mtd-spi-nor-add-eon-en25qh32.patch kernel: bump 4.9 to 4.9.101 6 years ago
480-mtd-set-rootfs-to-be-root-dev.patch
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch kernel: bump 4.9 to 4.9.96 6 years ago
491-ubi-auto-create-ubiblock-device-for-rootfs.patch kernel: bump 4.9 to 4.9.82 6 years ago
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch kernel: bump 4.9 to 4.9.82 6 years ago
494-mtd-ubi-add-EOF-marker-support.patch kernel/4.9: add missing newline character to UBI messages 7 years ago
530-jffs2_make_lzma_available.patch
532-jffs2_eofdetect.patch
551-ubifs-fix-default-compression-selection.patch
600-netfilter_conntrack_flush.patch
610-netfilter_match_bypass_default_checks.patch kernel: update kernel 4.9 to version 4.9.91 6 years ago
611-netfilter_match_bypass_default_table.patch
612-netfilter_match_reduce_memory_access.patch
613-netfilter_optional_tcp_window_check.patch
616-net_optimize_xfrm_calls.patch kernel: bump 4.9 to 4.9.63 7 years ago
620-net_sched-codel-do-not-defer-queue-length-update.patch kernel: merge a pending fix for HFSC warnings/slowdowns (fixes FS#1136) 6 years ago
630-packet_socket_type.patch kernel: bump to 4.9.105 6 years ago
655-increase_skb_pad.patch
666-Add-support-for-MAP-E-FMRs-mesh-mode.patch Re-enable arbitrary IPv6 addresses as outer ip4-in-ip6 tunnel source address 6 years ago
670-ipv6-allow-rejecting-with-source-address-failed-policy.patch kernel: bump 4.9 to 4.9.110 6 years ago
671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch
680-NET-skip-GRO-for-foreign-MAC-addresses.patch kernel: bump 4.9 to 4.9.96 6 years ago
681-NET-add-of_get_mac_address_mtd.patch
701-phy_extension.patch kernel: bump 4.9 to 4.9.96 6 years ago
703-phy-add-detach-callback-to-struct-phy_driver.patch kernel: bump 4.9 to 4.9.63 7 years ago
734-net-phy-at803x-allow-to-configure-via-pdata.patch kernel: bump to 4.9.105 6 years ago
735-net-phy-at803x-fix-at8033-sgmii-mode.patch kernel: bump to 4.9.105 6 years ago
810-pci_disable_common_quirks.patch
811-pci_disable_usb_common_quirks.patch kernel: update 4.9 to 4.9.49 7 years ago
821-usb-Remove-annoying-warning-about-bogus-URB.patch
831-ledtrig_netdev.patch
834-ledtrig-libata.patch kernel: bump 4.9 to 4.9.110 6 years ago
890-uart_optional_sysrq.patch kernel: bump 4.9 to 4.9.106 6 years ago
900-gen_stats-fix-netlink-stats-padding.patch kernel: gen_stats: Fix netlink stats dumping in the presence of padding 6 years ago
920-mangle_bootargs.patch kernel: bump 4.9 to 4.9.96 6 years ago