Cong Wang
7814c479de
llc: fix NULL pointer deref for SOCK_ZAPPED
...
[ Upstream commit 3a04ce7130a7e5dad4e78d45d50313747f8c830f ]
For SOCK_ZAPPED socket, we don't need to care about llc->sap,
so we should just skip these refcount functions in this case.
Fixes: f7e43672683b ("llc: hold llc_sap before release_sock()")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-29 11:33:13 +02:00
..
2017-11-02 11:10:55 +01:00
2018-02-22 15:42:30 +01:00
2017-11-02 11:10:55 +01:00
2018-04-12 12:32:24 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-19 08:56:19 +02:00
2018-04-26 11:02:21 +02:00
2017-11-02 11:10:55 +01:00
2018-01-23 19:58:17 +01:00
2017-11-30 08:40:45 +00:00
2018-04-29 11:33:12 +02:00
2018-03-31 18:10:40 +02:00
2018-02-25 11:07:52 +01:00
2018-04-29 11:33:10 +02:00
2018-04-24 09:36:39 +02:00
2017-08-22 13:40:23 -07:00
2018-03-31 18:10:40 +02:00
2018-04-29 11:33:13 +02:00
2018-04-29 11:33:13 +02:00
2018-04-29 11:33:10 +02:00
2017-11-02 11:10:55 +01:00
2018-03-31 18:10:41 +02:00
2018-03-31 18:10:40 +02:00
2018-01-23 19:58:12 +01:00
2018-04-29 11:33:11 +02:00
2018-04-29 11:33:13 +02:00
2018-04-12 12:32:15 +02:00
2017-11-02 11:10:55 +01:00
2018-02-22 15:42:28 +01:00
2017-10-21 01:56:38 +01:00
2018-04-26 11:02:21 +02:00
2017-11-02 11:10:55 +01:00
2018-04-12 12:32:23 +02:00
2017-11-30 08:40:55 +00:00
2017-08-29 15:16:52 -07:00
2018-04-26 11:02:15 +02:00
2018-04-29 11:33:12 +02:00
2017-11-02 11:10:55 +01:00
2017-11-01 12:19:03 +09:00
2017-11-08 14:32:18 +09:00
2018-04-26 11:02:17 +02:00
2018-04-26 11:02:19 +02:00
2018-04-29 11:33:13 +02:00
2018-04-29 11:33:12 +02:00
2018-04-29 11:33:11 +02:00
2018-04-29 11:33:13 +02:00
2018-04-26 11:02:19 +02:00
2018-04-29 11:33:12 +02:00
2018-01-31 14:03:48 +01:00
2017-11-02 10:04:46 -07:00
2018-02-25 11:07:59 +01:00
2017-11-02 11:10:55 +01:00
2018-03-03 10:24:34 +01:00
2017-11-02 11:10:55 +01:00
2018-04-08 14:26:29 +02:00
2017-09-20 15:36:18 -07:00
2017-09-04 13:25:20 +02:00
2017-11-02 11:10:55 +01:00
2018-02-22 15:42:23 +01:00