[ovs-git] [openvswitch/ovs] e7fac4: conntrack-tp: fix lock order in conn_update_expira...

William Tu noreply at github.com
Sun Jul 5 13:55:39 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: e7fac43bd1b4627792c5b2a344b95af4625c5288
      https://github.com/openvswitch/ovs/commit/e7fac43bd1b4627792c5b2a344b95af4625c5288
  Author: Peng He <hepeng.0320 at bytedance.com>
  Date:   2020-07-05 (Sun, 05 Jul 2020)

  Changed paths:
    M lib/conntrack-tp.c

  Log Message:
  -----------
  conntrack-tp: fix lock order in conn_update_expiration

*conn_update_expiration* violates the lock order of conn->lock and
ct->lock. In the comments of conntrack, the conn->lock should be
held after ct->lock when ct->lock needs to be taken.

Fixes: 2078901a4c142 ("userspace: Add conntrack timeout policy support.")
Signed-off-by: Peng He <hepeng.0320 at bytedance.com>
Signed-off-by: William Tu <u9012063 at gmail.com>


  Commit: 6adc879b6369fd009e2bdc1db6f5d0aea6c50f89
      https://github.com/openvswitch/ovs/commit/6adc879b6369fd009e2bdc1db6f5d0aea6c50f89
  Author: William Tu <u9012063 at gmail.com>
  Date:   2020-07-05 (Sun, 05 Jul 2020)

  Changed paths:
    M AUTHORS.rst

  Log Message:
  -----------
  AUTHORS: Add Peng He.

Signed-off-by: William Tu <u9012063 at gmail.com>


Compare: https://github.com/openvswitch/ovs/compare/9ed9df77a309...6adc879b6369


More information about the git mailing list