summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorYunjian Wang <wangyunjian@huawei.com>2021-09-11 14:34:47 +0800
committerIlya Maximets <i.maximets@ovn.org>2021-09-16 01:19:39 +0200
commit849a40ccfb9c7c6bba635b517caac4f12ab63eee (patch)
tree81054b2eae6e0f6d43a0b98448eabe441001df2e /.cirrus.yml
parent81de3a81a06fd21e0473170f17c831b9ac5c884f (diff)
downloadopenvswitch-849a40ccfb9c7c6bba635b517caac4f12ab63eee.tar.gz
netdev-linux: Fix a null pointer dereference in netdev_linux_notify_sock().
If nl_sock_join_mcgroup() returns an error, the 'sock' is freed and set to NULL. This issues will lead to null pointer deference in nl_sock_listen_all_nsid(). To fix it, we call nl_sock_listen_all_nsid() before joining the mcgroups. Fixes: cf114a7fce80 ("netlink linux: enable listening to all nsids") Signed-off-by: Yunjian Wang <wangyunjian@huawei.com> Acked-by: Flavio Leitner <fbl@sysclose.org> Reviewed-by: David Marchand <david.marchand@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to '.cirrus.yml')
0 files changed, 0 insertions, 0 deletions