[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20201210.131923.261956317613003321.davem@davemloft.net>
Date: Thu, 10 Dec 2020 13:19:23 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: xie.he.0141@...il.com
Cc: kuba@...nel.org, linux-x25@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, ms@....tdt.de
Subject: Re: [PATCH net-next] net: lapbether: Consider it successful if
(dis)connecting when already (dis)connected
From: Xie He <xie.he.0141@...il.com>
Date: Tue, 8 Dec 2020 14:50:44 -0800
> When the upper layer instruct us to connect (or disconnect), but we have
> already connected (or disconnected), consider this operation successful
> rather than failed.
>
> This can help the upper layer to correct its record about whether we are
> connected or not here in layer 2.
>
> The upper layer may not have the correct information about whether we are
> connected or not. This can happen if this driver has already been running
> for some time when the "x25" module gets loaded.
>
> Another X.25 driver (hdlc_x25) is already doing this, so we make this
> driver do this, too.
>
> Cc: Martin Schiller <ms@....tdt.de>
> Signed-off-by: Xie He <xie.he.0141@...il.com>
Applied, thank you.
Powered by blists - more mailing lists