[ovs-git] [ovn-org/ovn] becfac: pinctrl: Fix race condition when accessing br_int_...

Dumitru Ceara noreply at github.com
Mon Nov 30 02:26:45 UTC 2020


  Branch: refs/heads/branch-20.06
  Home:   https://github.com/ovn-org/ovn
  Commit: becfacf1ecfd73f24bacf497e76aaad55871a626
      https://github.com/ovn-org/ovn/commit/becfacf1ecfd73f24bacf497e76aaad55871a626
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2020-11-30 (Mon, 30 Nov 2020)

  Changed paths:
    M controller/pinctrl.c

  Log Message:
  -----------
  pinctrl: Fix race condition when accessing br_int_name.

Reading pctrl->br_int_name must be done while holding the pinctrl_mutex.
Otherwise we risk accessing freed memory.

Fixes: 6b72068202f1 ("ovn-controller: Add a new thread in pinctrl module to handle packet-ins.")
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>

(cherry-picked from master commit a0a9ee9fe2c14517ba2be109a05a38016203ae0c)




More information about the git mailing list