Bug in 1.3.96 and firewall.c

Graham Mitchell (gmitch@woodlea.wintermute.co.uk)
Sat, 27 Apr 1996 20:20:05 +0000


If you compile firewall.c you get the following errors thrown up
/usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:39: parse error
before `__u32' /usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:39:
warning: no semicolon at end of struct or union
/usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:81: parse error
before `__u32' /usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:81:
warning: no semicolon at end of struct or union
/usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:82: warning: data
definition has no type or storage class
/usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:83: parse error
before `raddr' /usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:83:
warning: data definition has no type or storage class
/usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:84: parse error
before `seq' /usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:84:
warning: data definition has no type or storage class
/usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:85: parse error
before `end_seq' /usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:85:
warning: data definition has no type or storage class
/usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:86: parse error
before `ack_seq' /usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:86:
warning: data definition has no type or storage class
/usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:113: parse error
before `}' /usr/src/linux-1.3.96-ppp/include/linux/skbuff.h: In
function `skb_queue_empty': In file included from firewall.c:10:
/usr/src/linux-1.3.96-ppp/include/linux/skbuff.h:169: dereferencing
pointer to incomplete type
/usr/src/linux-1.3.96-ppp/include/linux/skbuff.h: In function
`skb_peek':

The dereferencing errors continue for a page or so till the compile
finally gives up the ghost. It compiles OK if you disable the
firewall support.

Graham

Ask not what you can do for your country,
but what your government is doing to you