On 9/11/21 08:34, Yunjian Wang wrote:
> 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")
> Cc: Flavio Leitner <[email protected]>
> Signed-off-by: Yunjian Wang <[email protected]>
> ---
> v2:
>    update code style suggested by David Marchand
> ---


Thanks!  Applied and backported down to 2.12.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to