commit | d549f55f2e132e3d1f1288ce4231f45f12988bbf | [log] [tgz] |
---|---|---|
author | Roland Dreier <roland@purestorage.com> | Fri Aug 10 16:52:13 2012 -0700 |
committer | Roland Dreier <roland@purestorage.com> | Fri Aug 10 16:52:13 2012 -0700 |
tree | 2b61704aafe54aab65f043366352f5391d236a07 | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee [diff] |
RDMA/ocrdma: Don't call vlan_dev_real_dev() for non-VLAN netdevs If CONFIG_VLAN_8021Q is not set, then vlan_dev_real_dev() just goes BUG(), so we shouldn't call it unless we're actually dealing with a VLAN netdev. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>