commit | 9cd753a1f449b9af49a4c994ffab8c4f99d91f14 | [log] [tgz] |
---|---|---|
author | Michal Schmidt <mschmidt@redhat.com> | Wed Mar 02 13:47:05 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 02 13:31:55 2016 -0500 |
tree | 4df9d2bf14b0fe9eea6dc9666f8e119b33ccd89c | |
parent | 735c1e2511a5c4e6c451c8b3d29916c4b0fa39ae [diff] |
bnx2x: fix crash on big-endian when adding VLAN bnx2x crashes during the initialization of the 8021q module on ppc64. The bug is a missing conversion from le32 in bnx2x_handle_classification_eqe() when obtaining the cid value from struct eth_event_data. The fields in struct eth_event_data should all be declared as little-endian and conversions added where missing. Signed-off-by: Michal Schmidt <mschmidt@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>