vlan: also check phy_driver ts_info for vlan's real device
authorHangbin Liu <liuhangbin@gmail.com>
Fri, 30 Mar 2018 01:44:00 +0000 (09:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Apr 2018 10:32:24 +0000 (12:32 +0200)
commit09cb8267add584dc494683989c5ed6881be00ad7
tree51db14d2e6d8aa5392bac0ccc06612d08680c4ab
parent4f288c97b5c5c8741144ad00ec7edf44e8bd8997
vlan: also check phy_driver ts_info for vlan's real device

[ Upstream commit ec1d8ccb07deaf30fd0508af6755364ac47dc08d ]

Just like function ethtool_get_ts_info(), we should also consider the
phy_driver ts_info call back. For example, driver dp83640.

Fixes: 37dd9255b2f6 ("vlan: Pass ethtool get_ts_info queries to real device.")
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/8021q/vlan_dev.c