3.5 bridging regression
Subsystems (2)
Hi Eric,
Since 3.5, I was getting very quick panic when setting up a bridge on my guruplug (dual-gig equipped ARM system). This week-end I could bisect the issue and found that it is this patch which introduced the issue :
a1c7fff7e18f59e684e07b0f9a770561cd39f395 net: netdev_alloc_skb() use build_skb()
I can reliably reproduce the issue by installing my laptop behind this bridge and running "find" on an NFS mount. I don't understand why this patch can cause this, I was thinking that maybe we free the same page twice or something like this but I don't see any such thing there.
I set up the bridge using this script :
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
ip a f dev eth0
ip a f dev eth1
ip li set eth0 up
ip li set eth1 up
ip li set br0 up
The network driver is mv643xx. I don't know if this is important, but since this issue is still present in 3.6.2 and nobody has yet reported a panic on bridge, I suspect that it may contribute to the issue.
I'm also the config (only non-disabled options), I could strip it down enough to reduce the possibilities. This config causes the panic with the patch and does not without. I don't know what else to look for, I'm open to any idea you might have.
The panic looks like this :
------------[ cut here ]------------ kernel BUG at mm/slab.c:505! Internal error: Oops - BUG: 0 [#1] ARM Modules linked in: CPU: 0 Not tainted (3.5.0-fail #17) PC is at kfree+0x8c/0xa8 LR is at __kfree_skb+0x14/0xc8 pc : [<8008bee8>] lr : [<801bad84>] psr: 40000093
sp : 8035fe08 ip : 00000000 fp : ffdf8480
r10: 803691a8 r9 : 00f82802 r8 : 80403900
r7 : 00000001 r6 : a0000013 r5 : 9fb776e0 r4 : 8040b000 r3 : 80801ee0 r2 : 00000000 r1 : 00000000 r0 : 00000000
Flags: nZcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0005397f Table: 1f074000 DAC: 00000017
Process swapper (pid: 0, stack limit = 0x8035e270)
Stack: (0x8035fe08 to 0x80360000)
fe00: 9fb749e0 9fb749e0 9f9b0400 801bad84 9f9b1918 801aa740
fe20: 807ed620 00000010 00000000 9f96e400 00000002 9f9b0400 00000000 9f9b1918
fe40: 00000038 803804e0 00000000 00000000 00000001 801ab1c8 622af000 ffffffff
fe60: 0000001d 00000080 00000010 00001514 9f9b04d4 001312cf af6a5400 ffffffff
fe80: 00000000 00989680 001e8480 801aaef8 9f9b04d4 00000080 0000012c 803804e0
fea0: 803804e8 8036f1f0 ffff91f1 801c61bc 00000000 803804e0 00000000 00000001
fec0: 8040166c 8035e000 00000100 80401660 80370138 80401640 0000000a 80024cbc
fee0: 00000000 80370e88 0000000f 00000003 8035ff64 8035e000 0000000f 00000000
ff00: 8035ff64 00000000 56251311 8036b1f8 00000000 800250e8 8037608c 8000fd90
ff20: 801b1150 20000013 fed20200 8000eaf4 8035ff78 20000013 0002dffa 00000004
ff40: 3e957f9a 00000004 8036b470 00000000 00000000 56251311 8036b1f8 00000000
ff60: 9fffffae 8035ff78 80044de0 801b1150 20000013 ffffffff 3e985f94 00000004
ff80: 00000000 8035e000 00000000 00000000 00000000 8036b470 804070e8 8036b1f8
ffa0: 003592b0 801b0f74 8035e000 803806c8 80369e54 80369e4c 00004000 800100c8
ffc0: 80366108 8035a678 8080c0c0 80340738 00000000 00000000 803401d4 00000000
ffe0: 00000000 8035a678 00053975 80366044 8035a674 00008040 00000000 00000000 [<8008bee8>] (kfree+0x8c/0xa8) from [<801bad84>] (__kfree_skb+0x14/0xc8) [<801bad84>] (__kfree_skb+0x14/0xc8) from [<801aa740>] (txq_reclaim+0x198/0x244) [<801aa740>] (txq_reclaim+0x198/0x244) from [<801ab1c8>] (mv643xx_eth_poll+0x2d0/0x71c) [<801ab1c8>] (mv643xx_eth_poll+0x2d0/0x71c) from [<801c61bc>] (net_rx_action+0xb0/0x188) [<801c61bc>] (net_rx_action+0xb0/0x188) from [<80024cbc>] (__do_softirq+0x90/0x120) [<80024cbc>] (__do_softirq+0x90/0x120) from [<800250e8>] (irq_exit+0x7c/0x84) [<800250e8>] (irq_exit+0x7c/0x84) from [<8000fd90>] (handle_IRQ+0x34/0x84) [<8000fd90>] (handle_IRQ+0x34/0x84) from [<8000eaf4>] (__irq_svc+0x34/0x80) [<8000eaf4>] (__irq_svc+0x34/0x80) from [<801b1150>] (cpuidle_wrap_enter+0x54/0x9c) [<801b1150>] (cpuidle_wrap_enter+0x54/0x9c) from [<801b0f74>] (cpuidle_idle_call+0x9c/0x130) [<801b0f74>] (cpuidle_idle_call+0x9c/0x130) from [<800100c8>] (cpu_idle+0x88/0xd4) [<800100c8>] (cpu_idle+0x88/0xd4) from [<80340738>] (start_kernel+0x298/0x2ec)
Code: e7845101 e5840000 e121f006 e8bd8070 (e7f001f2) ---[ end trace 879b0e636889a6d4 ]--- Kernel panic - not syncing: Fatal exception in interrupt
Rebooting in 1 seconds..
Thanks,
Willy
CONFIG_ARM=yCONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_GENERIC_GPIO=yCONFIG_GENERIC_CLOCKEVENTS=yCONFIG_KTIME_SCALAR=yCONFIG_HAVE_PROC_CPU=yCONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_HARDIRQS_SW_RESEND=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_NEED_DMA_MAP_STATE=y CONFIG_VECTORS_BASE=0xffff0000 CONFIG_ARM_PATCH_PHYS_VIRT=y CONFIG_NEED_MACH_IO_H=yCONFIG_GENERIC_BUG=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_HAVE_IRQ_WORK=yCONFIG_IRQ_WORK=yCONFIG_EXPERIMENTAL=yCONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_CROSS_COMPILE=""CONFIG_LOCALVERSION=""CONFIG_HAVE_KERNEL_GZIP=y CONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_XZ=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_KERNEL_GZIP=y CONFIG_DEFAULT_HOSTNAME="dockstar" CONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_POSIX_MQUEUE=yCONFIG_POSIX_MQUEUE_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_HAVE_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_SHOW=y CONFIG_GENERIC_IRQ_CHIP=yCONFIG_TINY_RCU=yCONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=yCONFIG_LOG_BUF_SHIFT=19CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y CONFIG_BLK_DEV_INITRD=yCONFIG_INITRAMFS_SOURCE=""CONFIG_RD_GZIP=yCONFIG_RD_LZO=yCONFIG_SYSCTL=yCONFIG_ANON_INODES=yCONFIG_EXPERT=yCONFIG_UID16=yCONFIG_SYSCTL_SYSCALL=yCONFIG_KALLSYMS=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=yCONFIG_EMBEDDED=yCONFIG_HAVE_PERF_EVENTS=y CONFIG_PERF_USE_VMALLOC=yCONFIG_PERF_EVENTS=yCONFIG_VM_EVENT_COUNTERS=yCONFIG_COMPAT_BRK=yCONFIG_SLAB=yCONFIG_PROFILING=yCONFIG_HAVE_OPROFILE=yCONFIG_JUMP_LABEL=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y CONFIG_HAVE_DMA_API_DEBUG=y CONFIG_HAVE_ARCH_JUMP_LABEL=y CONFIG_HAVE_GENERIC_DMA_COHERENT=y CONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULES=yCONFIG_MODULE_FORCE_LOAD=yCONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=yCONFIG_BLOCK=yCONFIG_LBDAF=yCONFIG_BLK_DEV_BSG=yCONFIG_MSDOS_PARTITION=yCONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_CFQ=yCONFIG_DEFAULT_CFQ=yCONFIG_DEFAULT_IOSCHED="cfq" CONFIG_INLINE_SPIN_UNLOCK_IRQ=y CONFIG_INLINE_READ_UNLOCK=y CONFIG_INLINE_READ_UNLOCK_IRQ=y CONFIG_INLINE_WRITE_UNLOCK=y CONFIG_INLINE_WRITE_UNLOCK_IRQ=yCONFIG_MMU=yCONFIG_ARCH_KIRKWOOD=yCONFIG_MACH_GURUPLUG=yCONFIG_MACH_DOCKSTAR=yCONFIG_PLAT_ORION=yCONFIG_CPU_FEROCEON=y
CONFIG_CPU_32v5=yCONFIG_CPU_ABRT_EV5T=yCONFIG_CPU_PABRT_LEGACY=yCONFIG_CPU_CACHE_VIVT=yCONFIG_CPU_COPY_FEROCEON=y CONFIG_CPU_TLB_FEROCEON=yCONFIG_CPU_CP15=yCONFIG_CPU_CP15_MMU=yCONFIG_CPU_USE_DOMAINS=yCONFIG_OUTER_CACHE=yCONFIG_CACHE_FEROCEON_L2=y CONFIG_ARM_L1_CACHE_SHIFT=5CONFIG_ARM_NR_BANKS=8CONFIG_PCI=yCONFIG_PCI_SYSCALL=yCONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_VMSPLIT_2G=yCONFIG_PAGE_OFFSET=0x80000000 CONFIG_ARCH_NR_GPIO=0CONFIG_PREEMPT_NONE=yCONFIG_HZ=100CONFIG_AEABI=yCONFIG_OABI_COMPAT=yCONFIG_HAVE_ARCH_PFN_VALID=y CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=yCONFIG_FLATMEM=yCONFIG_FLAT_NODE_MEM_MAP=yCONFIG_HAVE_MEMBLOCK=yCONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=999999 CONFIG_ZONE_DMA_FLAG=0CONFIG_VIRT_TO_BUS=y CONFIG_DEFAULT_MMAP_MIN_ADDR=32768 CONFIG_NEED_PER_CPU_KM=y CONFIG_FORCE_MAX_ZONEORDER=11 CONFIG_ALIGNMENT_TRAP=y CONFIG_UACCESS_WITH_MEMCPY=y CONFIG_ZBOOT_ROM_TEXT=0x0CONFIG_ZBOOT_ROM_BSS=0x0CONFIG_CMDLINE=""CONFIG_CPU_IDLE=yCONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=yCONFIG_FPE_NWFPE=yCONFIG_FPE_FASTFPE=yCONFIG_BINFMT_ELF=y CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y CONFIG_HAVE_AOUT=yCONFIG_PM_RUNTIME=yCONFIG_PM=yCONFIG_CPU_PM=yCONFIG_NET=yCONFIG_PACKET=yCONFIG_UNIX=yCONFIG_UNIX_DIAG=yCONFIG_XFRM=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_MULTIPATH=yCONFIG_NET_IPIP=yCONFIG_SYN_COOKIES=yCONFIG_INET_TUNNEL=yCONFIG_INET_LRO=yCONFIG_INET_DIAG=yCONFIG_INET_TCP_DIAG=yCONFIG_INET_UDP_DIAG=yCONFIG_TCP_CONG_ADVANCED=yCONFIG_TCP_CONG_BIC=yCONFIG_TCP_CONG_CUBIC=yCONFIG_TCP_CONG_HTCP=yCONFIG_TCP_CONG_HYBLA=yCONFIG_TCP_CONG_VEGAS=yCONFIG_DEFAULT_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic"CONFIG_IPV6=yCONFIG_INET6_XFRM_MODE_TRANSPORT=y CONFIG_INET6_XFRM_MODE_TUNNEL=y CONFIG_INET6_XFRM_MODE_BEET=yCONFIG_IPV6_SIT=yCONFIG_IPV6_NDISC_NODETYPE=yCONFIG_NETFILTER=yCONFIG_NETFILTER_ADVANCED=y CONFIG_BRIDGE_NETFILTER=yCONFIG_STP=yCONFIG_BRIDGE=yCONFIG_VLAN_8021Q=yCONFIG_LLC=yCONFIG_NET_SCHED=yCONFIG_NET_CLS=yCONFIG_NET_EMATCH=yCONFIG_NET_EMATCH_STACK=32CONFIG_NET_CLS_ACT=yCONFIG_NET_SCH_FIFO=yCONFIG_BQL=yCONFIG_HAVE_BPF_JIT=yCONFIG_BPF_JIT=yCONFIG_FIB_RULES=y CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=yCONFIG_DEVTMPFS_MOUNT=yCONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE=""CONFIG_MTD=yCONFIG_MTD_CMDLINE_PARTS=yCONFIG_MTD_CHAR=yCONFIG_MTD_BLKDEVS=yCONFIG_MTD_BLOCK=yCONFIG_MTD_CFI=yCONFIG_MTD_JEDECPROBE=yCONFIG_MTD_GEN_PROBE=y CONFIG_MTD_CFI_ADV_OPTIONS=y CONFIG_MTD_CFI_NOSWAP=yCONFIG_MTD_CFI_GEOMETRY=y CONFIG_MTD_MAP_BANK_WIDTH_1=y CONFIG_MTD_MAP_BANK_WIDTH_2=yCONFIG_MTD_CFI_I1=yCONFIG_MTD_CFI_I2=yCONFIG_MTD_CFI_INTELEXT=yCONFIG_MTD_CFI_STAA=yCONFIG_MTD_CFI_UTIL=yCONFIG_MTD_PHYSMAP=yCONFIG_MTD_NAND_ECC=yCONFIG_MTD_NAND=yCONFIG_MTD_NAND_IDS=yCONFIG_MTD_NAND_ORION=yCONFIG_MTD_UBI=yCONFIG_MTD_UBI_WL_THRESHOLD=4096 CONFIG_MTD_UBI_BEB_RESERVE=1CONFIG_BLK_DEV=yCONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 CONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=16384CONFIG_HAVE_IDE=yCONFIG_SCSI_MOD=yCONFIG_NETDEVICES=yCONFIG_NET_CORE=yCONFIG_MII=yCONFIG_TUN=yCONFIG_ETHERNET=yCONFIG_NET_VENDOR_MARVELL=yCONFIG_MV643XX_ETH=yCONFIG_PHYLIB=yCONFIG_MARVELL_PHY=yCONFIG_UNIX98_PTYS=yCONFIG_LEGACY_PTYS=yCONFIG_LEGACY_PTY_COUNT=16CONFIG_DEVKMEM=yCONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_NR_UARTS=4 CONFIG_SERIAL_8250_RUNTIME_UARTS=2 CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_DEVPORT=yCONFIG_ARCH_REQUIRE_GPIOLIB=yCONFIG_GPIOLIB=yCONFIG_GPIO_SYSFS=yCONFIG_GPIO_GENERIC=y CONFIG_GPIO_GENERIC_PLATFORM=y CONFIG_SSB_POSSIBLE=yCONFIG_BCMA_POSSIBLE=yCONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB_ARCH_HAS_XHCI=yCONFIG_RTC_LIB=yCONFIG_RTC_CLASS=yCONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_INTF_SYSFS=yCONFIG_RTC_INTF_PROC=yCONFIG_RTC_INTF_DEV=yCONFIG_RTC_DRV_MV=yCONFIG_DMADEVICES=y CONFIG_ASYNC_TX_ENABLE_CHANNEL_SWITCH=y CONFIG_MV_XOR=yCONFIG_DMA_ENGINE=yCONFIG_STAGING=yCONFIG_CLKSRC_MMIO=yCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY_USER=yCONFIG_PROC_FS=yCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_CONFIGFS_FS=yCONFIG_MISC_FILESYSTEMS=yCONFIG_UBIFS_FS=yCONFIG_UBIFS_FS_LZO=yCONFIG_UBIFS_FS_ZLIB=y CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 CONFIG_FRAME_WARN=1024CONFIG_MAGIC_SYSRQ=yCONFIG_STRIP_ASM_SYMS=yCONFIG_DEBUG_KERNEL=yCONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_MEMORY_INIT=y CONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y CONFIG_HAVE_DYNAMIC_FTRACE=y CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_HAVE_C_RECORDMCOUNT=y CONFIG_TRACING_SUPPORT=yCONFIG_HAVE_ARCH_KGDB=yCONFIG_ARM_UNWIND=yCONFIG_DEBUG_USER=yCONFIG_DEBUG_LL=yCONFIG_DEBUG_LL_UART_NONE=yCONFIG_EARLY_PRINTK=y CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_DEFAULT_SECURITY=""CONFIG_CRYPTO=yCONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_DEFLATE=yCONFIG_CRYPTO_LZO=yCONFIG_BITREVERSE=yCONFIG_GENERIC_PCI_IOMAP=yCONFIG_GENERIC_IO=yCONFIG_CRC16=yCONFIG_CRC32=yCONFIG_CRC32_SLICEBY8=yCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=yCONFIG_LZO_COMPRESS=yCONFIG_LZO_DECOMPRESS=yCONFIG_DECOMPRESS_GZIP=yCONFIG_DECOMPRESS_LZO=yCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_DQL=yCONFIG_NLATTR=yCONFIG_GENERIC_ATOMIC64=y
Quoted 25 lines · Willy Tarreau
Hi Eric,
Since 3.5, I was getting very quick panic when setting up a bridge on my guruplug (dual-gig equipped ARM system). This week-end I could bisect the issue and found that it is this patch which introduced the issue :
a1c7fff7e18f59e684e07b0f9a770561cd39f395net:netdev_alloc_skb()usebuild_skb()I can reliably reproduce the issue by installing my laptop behind this bridge and running "find" on an NFS mount. I don't understand why this patch can cause this, I was thinking that maybe we free the same page twice or something like this but I don't see any such thing there.
I set up the bridge using this script :
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
ip a f dev eth0
ip a f dev eth1
ip li set eth0 up
ip li set eth1 up
ip li set br0 up
Quoted 3 lines
The network driver is mv643xx. I don't know if this is important, but since this issue is still present in 3.6.2 and nobody has yet reported a panic on bridge, I suspect that it may contribute to the issue.
Hello Willy
This is most probably the needed fix.
I guess David planned to send it to stable teams if not already done.
commit acb600def2110b1310466c0e485c0d26299898ae
Author: Eric Dumazet <[email protected]> Date: Fri Oct 5 06:23:55 2012 +0000
net: remove skb recycling
Over time, skb recycling infrastructure got litle interest and many bugs. Generic rx path skb allocation is now using page fragments for efficient GRO / TCP coalescing, and recyling a tx skb for rx path is not worth the pain.
Last identified bug is that fat skbs can be recycled and it can endup using high order pages after few iterations.
With help from Maxime Bizon, who pointed out that commit 87151b8689d (net: allow pskb_expand_head() to get maximum tailroom) introduced this regression for recycled skbs.
Instead of fixing this bug, lets remove skb recycling.
Drivers wanting really hot skbs should use build_skb() anyway, to allocate/populate sk_buff right before netif_receive_skb()
Quoted 3 lines · Eric Dumazet
Hello Willy
This is most probably the needed fix.
Good catch, as usual ! It works flawlessly here on top of 3.6.2.
Quoted 1 line
I guess David planned to send it to stable teams if not already done.
Indeed, I've not seen it there yet.
David, are you OK with sending this patch for -stable ? It fixes a 3.5 regression causing bridge to panic.
Quoted 10 lines
commit
acb600def2110b1310466c0e485c0d26299898aeAuthor: Eric Dumazet <[email protected]> Date: Fri Oct 5 06:23:55 2012 +0000net: remove skb recycling
Over time, skb recycling infrastructure got litle interest and many bugs. Generic rx path skb allocation is now using page fragments for efficient GRO / TCP coalescing, and recyling a tx skb for rx path is not worth the pain.
Thanks and have a nice week-end !
Willy
Quoted 20 lines · Willy Tarreau
Quoted 3 lines · Eric Dumazet
Hello Willy
This is most probably the needed fix.
Good catch, as usual ! It works flawlessly here on top of 3.6.2.
Quoted 1 line
I guess David planned to send it to stable teams if not already done.
Indeed, I've not seen it there yet.
David, are you OK with sending this patch for -stable ? It fixes a 3.5 regression causing bridge to panic.
Quoted 6 lines
commit
acb600def2110b1310466c0e485c0d26299898aeAuthor: Eric Dumazet <[email protected]> Date: Fri Oct 5 06:23:55 2012 +0000net: remove skb recycling
Quoted 8 lines
Quoted 4 lines
Over time, skb recycling infrastructure got litle interest and many bugs. Generic rx path skb allocation is now using page fragments for efficient GRO / TCP coalescing, and recyling a tx skb for rx path is not worth the pain.
Thanks and have a nice week-end !
Willy
Thanks for testing, sorry for adding a bug.
skb_recycle() was losing skb->head_frag status.
(we could have added some logic in skb_is_recycleable(), but this function was becoming really too complex)
Quoted 1 line · Eric Dumazet
Thanks for testing, sorry for adding a bug.
No problem, thanks to you for the quick fix.
Quoted 4 lines
skb_recycle()was losingskb->head_fragstatus.(we could have added some logic in
skb_is_recycleable(), but this function was becoming really too complex)
OK. I remember you did this in order to permit zero-copy splice() with all network drivers. I'll recheck to see if there is a performance impact with the fix.
Cheers,
Willy
David Miller
maintainerFrom: Willy Tarreau <[email protected]>
Date: Sun, 21 Oct 2012 15:26:10 +0200
Quoted 2 lines
David, are you OK with sending this patch for -stable ? It fixes a 3.5 regression causing bridge to panic.
Why do people ask me so many questions they can answer on their own?
Quoted 10 lines · David Miller
From: Willy Tarreau <[email protected]>
Date: Sun, 21 Oct 2012 15:26:10 +0200Quoted 2 lines
David, are you OK with sending this patch for -stable ? It fixes a 3.5 regression causing bridge to panic.
Why do people ask me so many questions they can answer on their own?
I wasn't aware of this URL and don't have an account there, though I can register to follow your work from now on.
Willy
David Miller
maintainerFrom: Willy Tarreau <[email protected]>
Date: Mon, 22 Oct 2012 01:31:41 +0200
Quoted 7 lines · David Miller
Quoted 6 lines
From: Willy Tarreau <[email protected]>
Date: Sun, 21 Oct 2012 15:26:10 +0200Quoted 2 lines
David, are you OK with sending this patch for -stable ? It fixes a 3.5 regression causing bridge to panic.
Quoted 7 lines
Quoted 4 lines
Why do people ask me so many questions they can answer on their own?
I wasn't aware of this URL and don't have an account there, though I can register to follow your work from now on.
You don't need an account, it's a public URL of my -stable patch queue.
Quoted 13 lines · David Miller
From: Willy Tarreau <[email protected]>
Date: Mon, 22 Oct 2012 01:31:41 +0200Quoted 10 lines · David Miller
Quoted 9 lines
From: Willy Tarreau <[email protected]>
Date: Sun, 21 Oct 2012 15:26:10 +0200Quoted 2 lines
David, are you OK with sending this patch for -stable ? It fixes a 3.5 regression causing bridge to panic.
Why do people ask me so many questions they can answer on their own?
Quoted 6 lines
Quoted 4 lines
I wasn't aware of this URL and don't have an account there, though I can register to follow your work from now on.
You don't need an account, it's a public URL of my -stable patch queue.
But when I click this link I am redirected to a login page :-/
Willy
Quoted 14 lines · Willy Tarreau
Quoted 13 lines · David Miller
From: Willy Tarreau <[email protected]>
Date: Mon, 22 Oct 2012 01:31:41 +0200Quoted 10 lines · David Miller
Quoted 9 lines
From: Willy Tarreau <[email protected]>
Date: Sun, 21 Oct 2012 15:26:10 +0200Quoted 2 lines
David, are you OK with sending this patch for -stable ? It fixes a 3.5 regression causing bridge to panic.
Why do people ask me so many questions they can answer on their own?
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
I wasn't aware of this URL and don't have an account there, though I can register to follow your work from now on.
You don't need an account, it's a public URL of my -stable patch queue.
But when I click this link I am redirected to a login page :-/
And I can confirm that after being logged I have access to your list.
Thank you for the link, it will greatly help me.
Willy