From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199707181033.MAA02995@verdi.et.tudelft.nl> Date: Fri, 18 Jul 1997 12:33:58 +0200 (MET DST) From: Rob van Nieuwkerk Subject: Re: NEW and IMPROVED Alpha Patches and MILO Sources! In-Reply-To: <199707172310.TAA04330@linux03.amt.tay1.dec.com> jestabro@amt.tay1.dec.com wrote: > Digital Semiconductor's AMT Group Linux Project Team is proud to announce > that you may now find on gatekeeper.dec.com: > > /pub/DEC/Linux-Alpha/Kernels/alpha-patches-2.0.30-0.1.gz > Highlights > ========== > > alpha-patches-2.0.30-0.1.gz > > includes "axp-diffs-2.0.30.gz" and em86 patches > support for new platforms > can now build BOOTP-able images > many enhancements/fixups/cleanups/work-arounds Hi Jay, Thanks for the new patches ! We'll try them soon. Below is a fix to make the IP firewall code work on the (64 bit) Alpha. Greetings, Rob van Nieuwkerk ---------------------------------------------------------------------- diff -uNr linux-2.0.30.orig/net/ipv4/ip_fw.c linux/net/ipv4/ip_fw.c --- linux-2.0.30.orig/net/ipv4/ip_fw.c Tue Apr 8 17:47:47 1997 +++ linux/net/ipv4/ip_fw.c Fri Jul 18 12:15:24 1997 @@ -206,9 +206,9 @@ int ip_fw_chk(struct iphdr *ip, struct device *rif, __u16 *redirport, struct ip_fw *chain, int policy, int mode) { struct ip_fw *f; - struct tcphdr *tcp=(struct tcphdr *)((unsigned long *)ip+ip->ihl); - struct udphdr *udp=(struct udphdr *)((unsigned long *)ip+ip->ihl); - struct icmphdr *icmp=(struct icmphdr *)((unsigned long *)ip+ip->ihl); + struct tcphdr *tcp=(struct tcphdr *)((__u32 *)ip+ip->ihl); + struct udphdr *udp=(struct udphdr *)((__u32 *)ip+ip->ihl); + struct icmphdr *icmp=(struct icmphdr *)((__u32 *)ip+ip->ihl); __u32 src, dst; __u16 src_port=0xFFFF, dst_port=0xFFFF, icmp_type=0xFF; unsigned short f_prt=0, prt; -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com