[ovs-dev] PATCH etherdevice.h : Fix openvswitch-v1.9.0 brcompat.ko compiler errors in Debian Wheezy (linux 3.2.0)

Jesse Gross jesse at nicira.com
Mon Apr 8 15:27:49 UTC 2013


On Sun, Apr 7, 2013 at 9:35 PM, Michael Przybylski
<michaeljprzybylski at gmail.com> wrote:
> Hi Jesse,
>
> Thank you for getting back to me so quickly.
>
> You are absolutely right.  eth_hw_addr_random was backported, and recently too.
>
> http://anonscm.debian.org/gitweb/?p=kernel/linux.git;a=commitdiff;h=0b9662e56b10a6e74b21f7b1e9bae4382af076e5
>
> So my patch won't work as written.
>
> I'm going to do some digging around in the debian kernel tree to see if there's any way for cpp to tell that it's working with a debian kernel.
>
> If I come up with a better fix, I will run it by you.

Take a look at the OVS_GREP_IFELSE macros in acinclude.m4 in the OVS
source tree.  That is how we normally deal with backported functions.



More information about the dev mailing list