Re: [PATCH net v2] drivers/net/wan/x25_asy: Correct the ndo_open and ndo_stop functions

2020-09-24 Thread David Miller
From: Xie He Date: Wed, 23 Sep 2020 11:18:18 -0700 > 1. > Move the lapb_register/lapb_unregister calls into the ndo_open/ndo_stop > functions. > This makes the LAPB protocol start/stop when the network interface > starts/stops. When the network interface is down, the LAPB protocol > shouldn't be

[PATCH net v2] drivers/net/wan/x25_asy: Correct the ndo_open and ndo_stop functions

2020-09-23 Thread Xie He
1. Move the lapb_register/lapb_unregister calls into the ndo_open/ndo_stop functions. This makes the LAPB protocol start/stop when the network interface starts/stops. When the network interface is down, the LAPB protocol shouldn't be running and the LAPB module shoudn't be generating control frames