[ovs-git] Open vSwitch: ofproto-dpif: Close race between processing packet_ins and checking seqno. (branch-2.1)

dev at openvswitch.org dev at openvswitch.org
Wed Apr 30 20:03:42 UTC 2014

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-2.1 has been updated
       via  64fbbf0deec3b4579b7cb1d0e26558ff5e03b5c2 (commit)
      from  d476681e590bb9dd87bc8bf9556bc93d9c204b15 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 64fbbf0deec3b4579b7cb1d0e26558ff5e03b5c2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=64fbbf0deec3b4579b7cb1d0e26558ff5e03b5c2
Author: Ben Pfaff <blp at nicira.com>
ofproto-dpif: Close race between processing packet_ins and checking seqno.
If a packet-in were to be queued, and the sequence number changed, after
grabbing the list of packet-ins, then the existing code could have gone to
sleep until something happened.  By grabbing the sequence number before
the list of packet-ins, we avoid this race.

Found by inspection.

Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 ofproto/ofproto-dpif.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Open vSwitch

More information about the git mailing list