[ovs-git] [openvswitch/ovs] ec3421: datapath: check for rx handler register

GitHub noreply at github.com
Sun Dec 20 17:50:19 UTC 2015


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: ec3421343a3b23b4192028e97ffc61a96545911e
      https://github.com/openvswitch/ovs/commit/ec3421343a3b23b4192028e97ffc61a96545911e
  Author: Flavio Leitner <fbl at redhat.com>
  Date:   2015-12-20 (Sun, 20 Dec 2015)

  Changed paths:
    M acinclude.m4
    M datapath/linux/compat/dev-openvswitch.c
    M datapath/linux/compat/include/linux/netdevice.h
    M datapath/vport-netdev.c

  Log Message:
  -----------
  datapath: check for rx handler register

Red Hat Enterprise Linux 6 has backported the netdev RX
handler facility so use the netdev_rx_handler_register as
an indicator.

The handler prototype changed between 2.6.36 and 2.6.39
since there could be backports in any stage, don't look
at the kernel version, but at the prototype.

Signed-off-by: Flavio Leitner <fbl at redhat.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>




More information about the git mailing list