Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Rob van Nieuwkerk <robn@verdi.et.tudelft.nl>
Subject: Re: NEW and IMPROVED Alpha Patches and MILO Sources!
Date: Fri, 18 Jul 1997 12:33:58 +0200 (MET DST)	[thread overview]
Message-ID: <bd26e5c254d6272241a1b6f846ef9846.axp-list@archive.invalid> (raw)
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

       reply	other threads:[~1997-07-18 10:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199707172310.TAA04330@linux03.amt.tay1.dec.com>
1997-07-18 10:33 ` Rob van Nieuwkerk [this message]
     [not found] <c=US%a=_%p=Digital%l=WADE-970818113442Z-347@reohub2.reo.de>
1997-08-18 12:43 ` NEW and IMPROVED Alpha Patches and MILO Sources! geerten kuiper
1997-08-18 11:34 David Rusling
     [not found] <33F6F260.427D@xs4all.nl>
1997-08-17 17:55 ` Ximenes Zalteca
1997-08-17 19:05 ` Robert L. Millner
1997-08-17 20:58 ` Robert L. Millner
  -- strict thread matches above, loose matches on Subject: below --
1997-08-17 12:45 saswato
     [not found] <33CF5CE3.105@linux.reo.dec.com>
1997-07-18 22:26 ` Steven N. Hirsch
1997-07-18 12:09 David A Rusling
     [not found] <33CF1B02.1339@linux.reo.dec.com>
1997-07-18 10:54 ` Steven N. Hirsch
1997-07-18  7:28 David A Rusling
1997-07-17 14:10 jestabro
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox