patch for 1.3.68

Bill Foster (bill@kryten.kryten.com)
Thu, 22 Feb 1996 23:58:30 -0800 (PST)


The first patch below fixes a compile error due to a missing comment delimiter
when using tunneling support with kernel 1.3.68. The second fixes the following
insignificant warning:

dev.c: In function `dev_load':
dev.c:223: warning: assignment discards `const' from pointer target type

Bill Foster
bill@kryten.com

--- linux/drivers/net/new_tunnel.c.orig Thu Feb 22 23:11:19 1996
+++ linux/drivers/net/new_tunnel.c Thu Feb 22 23:14:54 1996
@@ -357,7 +357,8 @@
dev->mtu = 1500-tunnel_hlen; /* eth_mtu */
dev->addr_len = 0; /* Is this only for ARP? */
dev->tx_queue_len = 2; /* Small queue */
- it should all run through */
+
+ /* it should all run through */
memset(dev->broadcast,0xFF, ETH_ALEN);

/* New-style flags. */
--- linux/net/core/dev.c.orig Thu Feb 22 23:31:32 1996
+++ linux/net/core/dev.c Thu Feb 22 23:31:39 1996
@@ -216,7 +216,7 @@

extern __inline__ void dev_load(const char *name)
{
- char *sptr;
+ const char *sptr;

if(!dev_get(name)) {
#ifdef CONFIG_NET_ALIAS