[ovs-git] [openvswitch/ovs] 044c42: stt: Fix return code during xmit.

GitHub noreply at github.com
Thu Jan 24 18:35:24 UTC 2019


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: 044c42895332bf25e53ac6b9a9ecdf84fd61f1ac
      https://github.com/openvswitch/ovs/commit/044c42895332bf25e53ac6b9a9ecdf84fd61f1ac
  Author: Aaron Conole <aconole at redhat.com>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M datapath/linux/compat/stt.c

  Log Message:
  -----------
  stt: Fix return code during xmit.

In the case of an error, return the error code as opposed to
NETDEV_TX_OK.

Caught by compiler warning:

  /home/travis/build/ovsrobot/ovs/datapath/linux/stt.c: In function =E2=80=
=98ovs_stt_xmit=E2=80=99:
  /home/travis/build/ovsrobot/ovs/datapath/linux/stt.c:1005:6: warning: var=
iable =E2=80=98err=E2=80=99 set but not used [-Wunused-but-set-variable]
    int err;
  ^

Signed-off-by: Aaron Conole <aconole at redhat.com>
Reviewed-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Justin Pettit <jpettit at ovn.org>



      **NOTE:** GitHub Services has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      We will provide an alternative path for the email notifications by January 31st, 2019.


More information about the git mailing list