Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bonding: correctly process non-linear skbs
It was recently brought to my attention that 802.3ad mode bonds would no longer form when using some network hardware after a driver update. After snooping around I realized that the particular hardware was using page-based skbs and found that skb->data did not contain a valid LACPDU as it was not stored there. That explained the inability to form an 802.3ad-based bond. For balance-alb mode bonds this was also an issue as ARPs would not be properly processed. This patch fixes the issue in my tests and should be applied to 2.6.36 and as far back as anyone cares to add it to stable. Thanks to Alexander Duyck <[email protected]> and Jesse Brandeburg <[email protected]> for the suggestions on this one. Signed-off-by: Andy Gospodarek <[email protected]> CC: Alexander Duyck <[email protected]> CC: Jesse Brandeburg <[email protected]> CC: [email protected] Signed-off-by: Jay Vosburgh <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information