diff options
author | Xie He <xie.he.0141@gmail.com> | 2021-03-18 12:07:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-18 19:13:42 -0700 |
commit | 536e1004d273cf55d0e6c6ab6bfe74dc60464cd2 (patch) | |
tree | 770a70611b45ad55b96a2628bd700eeffd9949df /fs/dlm | |
parent | 0f9651bb3ade97de3576b982513296c8783ad8bc (diff) |
net: lapbether: Close the LAPB device before its underlying Ethernet device closes
When a virtual LAPB device's underlying Ethernet device closes, the LAPB
device is also closed.
However, currently the LAPB device is closed after the Ethernet device
closes. It would be better to close it before the Ethernet device closes.
This would allow the LAPB device to transmit a last frame to notify the
other side that it is disconnecting.
Signed-off-by: Xie He <xie.he.0141@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/dlm')
0 files changed, 0 insertions, 0 deletions