Subject: Re: [net] net_sched: make dev_trans_start return vlan's real dev trans_start

From: Veaceslav Falico <[email-masked]>
Date: Sat, 3 Aug 2013 19:07:33 +0200

On Sat, Aug 03, 2013 at 05:07:51PM +0200, [email-masked] wrote:
...snip...
>+	while (is_vlan_dev(dev))
>+		dev = vlan_dev_real_dev(dev);

While at it - I've checked a few users (mainly network drivers) of
vlan_dev_real_dev(dev) and they all rely on that the return device would be
the *real* device, but not another vlan.

So maybe we should move this while loop to vlan_dev_real_dev() instead?