Re: [PATCH net-next v2 4/6] net/x25: support NETDEV_CHANGE notifier

2020-11-17 Thread Martin Schiller
On 2020-11-17 12:41, Xie He wrote: On Mon, Nov 16, 2020 at 6:00 AM Martin Schiller wrote: This makes it possible to handle carrier lost and detection. In case of carrier lost, we shutdown layer 3 and flush all sessions. @@ -275,6 +275,19 @@ static int x25_device_event(struct notifier_block *

Re: [PATCH net-next v2 4/6] net/x25: support NETDEV_CHANGE notifier

2020-11-17 Thread Xie He
On Mon, Nov 16, 2020 at 6:00 AM Martin Schiller wrote: > > This makes it possible to handle carrier lost and detection. > In case of carrier lost, we shutdown layer 3 and flush all sessions. > > @@ -275,6 +275,19 @@ static int x25_device_event(struct notifier_block *this, > unsigned long event, >

[PATCH net-next v2 4/6] net/x25: support NETDEV_CHANGE notifier

2020-11-16 Thread Martin Schiller
This makes it possible to handle carrier lost and detection. In case of carrier lost, we shutdown layer 3 and flush all sessions. Signed-off-by: Martin Schiller --- Change from v1: fix 'subject_prefix' and 'checkpatch' warnings --- net/x25/af_x25.c | 13 + 1 file changed, 13 insert