]> git.baikalelectronics.ru Git - kernel.git/commit
net: qrtr: revert check in qrtr_endpoint_post()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 2 Sep 2021 10:08:51 +0000 (13:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Sep 2021 10:37:02 +0000 (11:37 +0100)
commitd2cabd2dc8da78faf9b690ea521d03776686c9fe
treea01d22733cd9563659c2c283f9efb1509790ff58
parent552799f8b3b0074d2617f53a63a088f9514a66e3
net: qrtr: revert check in qrtr_endpoint_post()

I tried to make this check stricter as a hardenning measure but it broke
audo and wifi on these devices so revert it.

Fixes: aaa8e4922c88 ("net: qrtr: make checks in qrtr_endpoint_post() stricter")
Reported-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/qrtr/qrtr.c