2009-07-01 20:43:43

by Larry Finger

[permalink] [raw]
Subject: Build error in 2.6.31-rc1-wl

When building the above kernel based on a fress pull of
wireless-testing, I get the following build error:

CC net/core/skbuff.o
net/core/skbuff.c: In function ‘__copy_skb_header’:
net/core/skbuff.c:563: error: ‘struct sk_buff’ has no member named
‘do_not_encrypt’
net/core/skbuff.c:563: error: ‘const struct sk_buff’ has no member
named ‘do_not_encrypt’
make[2]: *** [net/core/skbuff.o] Error 1

The code that errors is

new->vlan_tci = old->vlan_tci;
#if defined(CONFIG_MAC80211) || defined(CONFIG_MAC80211_MODULE)
new->do_not_encrypt = old->do_not_encrypt;
#endif

skb_copy_secmark(new, old);
}

Larry


2009-07-02 13:00:53

by John W. Linville

[permalink] [raw]
Subject: Re: Build error in 2.6.31-rc1-wl

On Wed, Jul 01, 2009 at 03:43:51PM -0500, Larry Finger wrote:
> When building the above kernel based on a fress pull of
> wireless-testing, I get the following build error:
>
> CC net/core/skbuff.o
> net/core/skbuff.c: In function ‘__copy_skb_header’:
> net/core/skbuff.c:563: error: ‘struct sk_buff’ has no member named
> ‘do_not_encrypt’
> net/core/skbuff.c:563: error: ‘const struct sk_buff’ has no member
> named ‘do_not_encrypt’
> make[2]: *** [net/core/skbuff.o] Error 1
>
> The code that errors is
>
> new->vlan_tci = old->vlan_tci;
> #if defined(CONFIG_MAC80211) || defined(CONFIG_MAC80211_MODULE)
> new->do_not_encrypt = old->do_not_encrypt;
> #endif
>
> skb_copy_secmark(new, old);
> }

Some patch damage when moving to 2.6.31-rc1. Johannes sent me a
fix-up yesterday, so I have folded it back into the damaged patch
and pushed it out.

Thanks,

John
--
John W. Linville Someday the world will need a hero, and you
[email protected] might be all we have. Be ready.
¡Viva Honduras Libre!