[ovs-git] [openvswitch/ovs] 53d416: ovs-router: fix router entry cast

GitHub noreply at github.com
Thu Feb 1 21:28:18 UTC 2018

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 53d416af570934a92d8c2f6471229599e53cbe6f
  Author: William Tu <u9012063 at gmail.com>
  Date:   2018-02-01 (Thu, 01 Feb 2018)

  Changed paths:
    M lib/ovs-router.c

  Log Message:
  ovs-router: fix router entry cast

The offsetof(struct ovs_router_entry, cr) should always be 0,
thus the else statement should never be reached.

Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list