backports: handle new ndo_set_vf_spoofchk pointer in struct net_device_ops
authorStefan Assmann <sassmann@kpanic.de>
Fri, 16 May 2014 11:21:15 +0000 (13:21 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Jun 2014 22:16:14 +0000 (00:16 +0200)
commitb0473cc66296a76c7bae383aab7dc5b9ec396ba3
tree5bbe810d214dc7823a63b68dda46cc82623eb7a9
parent1f952b650df0041d5992fcfca91da3422d98b2c2
backports: handle new ndo_set_vf_spoofchk pointer in struct net_device_ops

In kernel 3.2 struct net_device_ops got a new function pointer
ndo_set_vf_spoofchk. Address this by putting ifdef around the code.

commit 5f8444a3fa617076f8da51a3e8ecce01a5d7f738
Author: Greg Rose <gregory.v.rose@intel.com>
Date:   Sat Oct 8 03:05:24 2011 +0000

    if_link: Add additional parameter to IFLA_VF_INFO for spoof checking

git describe --contains 5f8444a3fa617076f8da51a3e8ecce01a5d7f738
v3.2-rc1~129^2~87

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/collateral-evolutions/network/0034-ndo_set_vf_spoofchk/INFO [new file with mode: 0644]
patches/collateral-evolutions/network/0034-ndo_set_vf_spoofchk/igb_ndo_set_vf_spoofchk.patch [new file with mode: 0644]