[ovs-git] [openvswitch/ovs] 822afe: compat:inet_frag.h: Check for frag_percpu_counter_...

GitHub noreply at github.com
Tue Jan 23 21:04:20 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 822afef74f5e65af0cdc3916249ce85a70ae7b83
      https://github.com/openvswitch/ovs/commit/822afef74f5e65af0cdc3916249ce85a70ae7b83
  Author: Greg Rose <gvrose8192 at gmail.com>
  Date:   2018-01-23 (Tue, 23 Jan 2018)

  Changed paths:
    M datapath/linux/compat/include/net/inet_frag.h

  Log Message:
  -----------
  compat:inet_frag.h: Check for frag_percpu_counter_batch

Fix up the compat layer to check for frag_percpu_counter_batch and
if not present then use atomic_sub and atomic_add as per the
backport in the 3.16.50 LTS kernel.  Fixes compile errors on
3.16 series kernels from 3.16.50 on.

Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Justin Pettit <jpettit at ovn.org>




More information about the git mailing list