OSDN Git Service

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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2018 00:53:50 +0000 (20:53 -0400)
commitec1d8ccb07deaf30fd0508af6755364ac47dc08d
tree487d6a86e7a1b49f58d8bd611d169749016930ba
parentc0b458a9463bd6be165374a8e9e3235800ee132e
vlan: also check phy_driver ts_info for vlan's real device

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>
net/8021q/vlan_dev.c