diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2018-04-20 07:54:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-22 21:56:22 +0300 |
commit | 3a04ce7130a7e5dad4e78d45d50313747f8c830f (patch) | |
tree | 52d1a44181da326f2fc5805efbd5875d159bc7b3 /scripts/recordmcount.c | |
parent | 5e391dc5a8d801a2410d0032ad4a428d1d61800c (diff) | |
download | linux-3a04ce7130a7e5dad4e78d45d50313747f8c830f.tar.xz |
llc: fix NULL pointer deref for SOCK_ZAPPED
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>
Diffstat (limited to 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions