[ovs-git] [openvswitch/ovs] 18b585: dpif: Simplify dpif_execute_helper_cb()

GitHub noreply at github.com
Thu Jan 12 20:30:32 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 18b585928e2f0e7dcfcc5bb21f4a858d806c80f7
      https://github.com/openvswitch/ovs/commit/18b585928e2f0e7dcfcc5bb21f4a858d806c80f7
  Author: Andy Zhou <azhou at ovn.org>
  Date:   2017-01-12 (Thu, 12 Jan 2017)

  Changed paths:
    M lib/dpif.c

  Log Message:
  -----------
  dpif: Simplify dpif_execute_helper_cb()

The may_steal flag is now used, Remove OVS_UNUSED.

Since dp_packet_delete() handles the NULL pointer properly, we can
drop a few tracking variables, and make the code easier to follow.

Signed-off-by: Andy Zhou <azhou at ovn.org>
Acked-by: Jarno Rajahalme <jarno at ovn.org>




More information about the git mailing list