Comment 39 for bug 1616107

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-12-02 18:01 EDT-------
Hi Canonical

This issue with the bnx2x driver exists in the all 4.4. kernels including the current stable (4.4.36). If 16.04 will continue to support a 4.4. kernel we need the following patch included in a kernel build. I am working on ppc64le however others have reported the issue on x86-64.

(The full patch is attached to this bugzilla)
From a02cc9d3cc9f98905df214d4a57e5918473260ea Mon Sep 17 00:00:00 2001
From: Michal Schmidt <email address hidden>
Date: Fri, 3 Jun 2016 15:32:18 +0200
Subject: [PATCH] bnx2x: allow adding VLANs while interface is down

Here are the steps to verify the fix:

# brctl addbr boom
# brctl stp boom off
# brctl addif boom <interface>
# brctl delif boom <interface>

<Interface> is any network interface using the bnx2x network driver.

The Oops happens after brctl delif is run unless patch is included.

Note: the problem can be avoided if <interface> is "up" before brctl addif is run. This worked when I ran the commands by hand as above. I attempted to modify the /etc/network/interfaces to change the state of the interface before creating the bridge but was unsuccessful. Maybe someone else will have better luck.