[ovs-git] [openvswitch/ovs] 5cb921: ofproto-dpif-xlate: Change assertion to log messag...

GitHub noreply at github.com
Fri Dec 8 23:21:29 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 5cb92182abf2ac7f9bea7dc935bb6a0312e29288
      https://github.com/openvswitch/ovs/commit/5cb92182abf2ac7f9bea7dc935bb6a0312e29288
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-12-08 (Fri, 08 Dec 2017)

  Changed paths:
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  ofproto-dpif-xlate: Change assertion to log message.

Until now, compose_output_action__() has asserted that a packet output to
a patch port is not to be truncated.  This commit changes this to an error
that will be included in trace output, for two reasons.  First, this sounds
like only a minor problem to me which doesn't warrant killing the process.
Second, it will be easier to track down the actual problem (if any) if we
can get a trace instead of a segfault.

Reported-by: Kevin Lin <kevin at kelda.io>
Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2017-December/045832.html
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list