[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#610838: Bonding device + AF_PACKET socket will crash in some bonding modes



Package: linux-2.6
Version: 2.6.32-30
Severity: important
Tags: upstream fixed-upstream

Commit ab12811c89e88f2e66746790b1fe4469ccb7bdd9 "bonding: correctly
process non-linear skbs", backported in stable 2.6.32.23 and Debian's
2.6.32-24, changed some functions in the bonding driver so that they
now modify the skbs they handle.  When AF_PACKET sockets are used on a
bonding device, these functions can receive shared skbs and this
results in an 'oops' since it is not valid to modify a shared skb.
Fixed upstream by:

commit b30532515f0a62bfe17207ab00883dd262497006
Author: Neil Horman <nhorman@tuxdriver.com>
Date:   Thu Jan 20 09:02:31 2011 +0000

    bonding: Ensure that we unshare skbs prior to calling pskb_may_pull

Ben.

-- System Information:
Debian Release: 6.0
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: