--- zzzz-none-000/linux-2.6.39.4/include/net/ip.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/include/net/ip.h 2021-11-10 13:23:10.000000000 +0000 @@ -52,6 +52,9 @@ struct ipcm_cookie { __be32 addr; int oif; +#ifdef CONFIG_TI_META_DATA + unsigned int ti_meta_info; +#endif /* CONFIG_TI_META_DATA */ struct ip_options *opt; __u8 tx_flags; }; @@ -146,7 +149,7 @@ * multicast packets. */ -static inline void ip_tr_mc_map(__be32 addr, char *buf) +static inline void ip_tr_mc_map(__be32 addr __attribute__((unused)), char *buf) { buf[0]=0xC0; buf[1]=0x00;