[ovs-git] [openvswitch/ovs] 6dbd98: datapath: test for netlink_set_err returning void

GitHub noreply at github.com
Fri Jan 29 03:18:38 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 6dbd98e6cad2cc6aced7f8be2cd15b5a5cc3ed47
      https://github.com/openvswitch/ovs/commit/6dbd98e6cad2cc6aced7f8be2cd15b5a5cc3ed47
  Author: Simon Horman <simon.horman at netronome.com>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

  Changed paths:
    M acinclude.m4
    M datapath/linux/compat/include/net/genetlink.h

  Log Message:
  -----------
  datapath: test for netlink_set_err returning void

In v2.6.33 netlink_set_err returns void. However, 1a50307ba182 ("netlink:
fix NETLINK_RECV_NO_ENOBUFS in netlink_set_err()") was backported and
included in v2.6.33.2 and in that and subsequent v2.6.33 stable releases
netlink_set_err returns an int.

It seems plausible that there are other backports floating around. So check
for netlink_set_err returning void rather than including compatibility code
based on the version of the kernel.

Signed-off-by: Simon Horman <simon.horman at netronome.com>
Acked-by: Pravin B Shelar <pshelar at ovn.org>




More information about the git mailing list