diff options
| author | Cong Wang <xiyou.wangcong@gmail.com> | 2018-04-19 21:54:34 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-29 07:50:06 +0200 |
| commit | 50083b76de998479d45d3bd0f117a8d27d7b17af (patch) | |
| tree | 09297fccfecac1149f99c823523682cc7cca39ff /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | ddebd5d78238a78aac4051317f456e672308ce9f (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
