aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorVivien Didelot <[email protected]>2017-10-16 15:12:18 +0000
committerDavid S. Miller <[email protected]>2017-10-18 11:24:33 +0000
commitf8b8b1cd5aadd221742b45eb0ee3c8a80abf036a (patch)
treead5b305182f3406c9de65031dce9577abd743da6 /net/lapb/lapb_timer.c
parentnet: dsa: rename dsa_master_get_slave (diff)
downloadkernel-f8b8b1cd5aadd221742b45eb0ee3c8a80abf036a.tar.gz
kernel-f8b8b1cd5aadd221742b45eb0ee3c8a80abf036a.zip
net: dsa: split dsa_port's netdev member
The dsa_port structure has a "netdev" member, which can be used for either the master device, or the slave device, depending on its type. It is true that today, CPU port are not exposed to userspace, thus the port's netdev member can be used to point to its master interface. But it is still slightly confusing, so split it into more explicit "master" and "slave" members inside an anonymous union. Signed-off-by: Vivien Didelot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions