From: Roland Dreier Date: Fri, 10 Aug 2012 23:52:13 +0000 (-0700) Subject: RDMA/ocrdma: Don't call vlan_dev_real_dev() for non-VLAN netdevs X-Git-Tag: v3.6-rc3~36^2^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d549f55f2e132e3d1f1288ce4231f45f12988bbf;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed