summaryrefslogtreecommitdiff
path: root/net/8021q
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2021-06-03 19:38:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-10 13:41:35 +0300
commita3536dce5895f714d9eead8afb92629a3fb5875b (patch)
treec65451ed1849c010982f9d1332c41207036f8fa6 /net/8021q
parentb1f2f8952b14e118c6be35b2be2bd24dc0d95272 (diff)
downloadlinux-a3536dce5895f714d9eead8afb92629a3fb5875b.tar.xz
net: caif: add proper error handling
commit a2805dca5107d5603f4bbc027e81e20d93476e96 upstream. caif_enroll_dev() can fail in some cases. Ingnoring these cases can lead to memory leak due to not assigning link_support pointer to anywhere. Fixes: 7c18d2205ea7 ("caif: Restructure how link caif link layer enroll") Cc: stable@vger.kernel.org Signed-off-by: Pavel Skripkin <paskripkin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions