BCM SDK 5.10.147.x: rework WAR for oops'es in et driver
commitb1a7ca22379982c1c40ce3bb62ba8efe6b21b7e3
authorFedor <fedork@ubuntu.(none)>
Fri, 4 Feb 2011 05:04:45 +0000 (4 00:04 -0500)
committerFedor <fedork@ubuntu.(none)>
Mon, 7 Feb 2011 02:00:53 +0000 (6 21:00 -0500)
tree8cc1fef29d74b45128d4ab95a567dcb530ab2e8a
parent5c42de9e529d68bc0348c8b135358c3170bffa4f
BCM SDK 5.10.147.x: rework WAR for oops'es in et driver

Broadcom ET and CTF drivers are using mac_len member of sk_buff structure
for internal purposes, causing kernel oops'es when something else in the
kernel populates this field.

This commit replaces previous WAR 2fbfdd856fdd50152fc742925a4e5ee2b5fc56bf
which made ET to use different (unused) skbuff member, but since CTF is
a closed source driver we can't change it, and when loaded it was causing
the same problems.

Unfortunately, we have to deal with what Broadcom provides, so better to
change something we have sources for, even if these changes are more
intrusive...
release/src-rt/include/linux_osl.h
release/src-rt/linux/linux-2.6/include/linux/skbuff.h
release/src-rt/linux/linux-2.6/net/core/dev.c
release/src-rt/linux/linux-2.6/net/core/skbuff.c
release/src-rt/linux/linux-2.6/net/ipv4/af_inet.c
release/src-rt/linux/linux-2.6/net/ipv4/xfrm4_mode_tunnel.c
release/src-rt/linux/linux-2.6/net/ipv6/ipv6_sockglue.c
release/src-rt/linux/linux-2.6/net/ipv6/xfrm6_mode_beet.c
release/src-rt/linux/linux-2.6/net/ipv6/xfrm6_mode_tunnel.c
release/src-rt/linux/linux-2.6/net/sched/em_meta.c