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

GitHub noreply at github.com
Mon Aug 31 19:50:00 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 572e54faff70760f4bfe4a7cffc9553e6743199e
      https://github.com/openvswitch/ovs/commit/572e54faff70760f4bfe4a7cffc9553e6743199e
  Author: Flavio Leitner <fbl at redhat.com>
  Date:   2015-08-31 (Mon, 31 Aug 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