* [PATCH][ROSE] Trivial compilation CONFIG_INET=n case
@ 2007-12-04 15:11 Pavel Emelyanov
2007-12-05 10:17 ` David Miller
0 siblings, 1 reply; 4+ messages in thread
From: Pavel Emelyanov @ 2007-12-04 15:11 UTC (permalink / raw
To: David Miller; +Cc: Ralf Baechle, linux-hams, Linux Netdev List, devel
The rose_rebuild_header() consists only of some variables in
case INET=n, and gcc will warn us about it.
Fits both net-2.6 and net-2.6.25.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
---
diff --git a/net/rose/rose_dev.c b/net/rose/rose_dev.c
index 1b6741f..12cfcf0 100644
--- a/net/rose/rose_dev.c
+++ b/net/rose/rose_dev.c
@@ -55,13 +55,13 @@ static int rose_header(struct sk_buff *skb, struct net_device *dev,
static int rose_rebuild_header(struct sk_buff *skb)
{
+#ifdef CONFIG_INET
struct net_device *dev = skb->dev;
struct net_device_stats *stats = netdev_priv(dev);
unsigned char *bp = (unsigned char *)skb->data;
struct sk_buff *skbn;
unsigned int len;
-#ifdef CONFIG_INET
if (arp_find(bp + 7, skb)) {
return 1;
}
--
1.5.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH][ROSE] Trivial compilation CONFIG_INET=n case
2007-12-04 15:11 [PATCH][ROSE] Trivial compilation CONFIG_INET=n case Pavel Emelyanov
@ 2007-12-05 10:17 ` David Miller
2007-12-06 11:18 ` [PATCH] ax25ipd (ax25-apps-0.0.6.2) Bernard Pidoux
2007-12-09 20:59 ` Bernard Pidoux
0 siblings, 2 replies; 4+ messages in thread
From: David Miller @ 2007-12-05 10:17 UTC (permalink / raw
To: xemul; +Cc: ralf, linux-hams, netdev, devel
From: Pavel Emelyanov <xemul@openvz.org>
Date: Tue, 04 Dec 2007 18:11:05 +0300
> The rose_rebuild_header() consists only of some variables in
> case INET=n, and gcc will warn us about it.
>
> Fits both net-2.6 and net-2.6.25.
>
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Applied to net-2.6, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ax25ipd (ax25-apps-0.0.6.2)
2007-12-05 10:17 ` David Miller
@ 2007-12-06 11:18 ` Bernard Pidoux
2007-12-09 20:59 ` Bernard Pidoux
1 sibling, 0 replies; 4+ messages in thread
From: Bernard Pidoux @ 2007-12-06 11:18 UTC (permalink / raw
Cc: linux-hams
Hi,
Rose network is using extensively AX25 IP encapsulation for
routing AX25 packet radio frames via Internet nodes such FPAC nodes.
ax25ipd (from ax25-apps) is doing frame encapsulation and decapsulation.
Since version 1.0.3 patch by vk5asf ax25ipd is checking every 5 minutes
hostnames for dynamic DNS.
There was still a failure possibility when the program is started in
case of unsuccessful resolving remote host ip from its hostname was
unsuccessful.
I introduced a simple error warning instead of an exit as the remote
host could be temporary down and the address will be checked again
periodically later.
The patch against ax25-apps-0.0.6.2 (kernel 2.6 compatible) can be found
here :
http://f6bvp.free.fr/logiciels/ax25/ax25-apps-0.0.6.2.diff
and ax25-apps-0.0.6.2 is here :
http://f6bvp.free.fr/logiciels/ax25/ax25-apps-0.0.6.2src_f6bvp.tgz
73 de Bernard, f6bvp
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ax25ipd (ax25-apps-0.0.6.2)
2007-12-05 10:17 ` David Miller
2007-12-06 11:18 ` [PATCH] ax25ipd (ax25-apps-0.0.6.2) Bernard Pidoux
@ 2007-12-09 20:59 ` Bernard Pidoux
1 sibling, 0 replies; 4+ messages in thread
From: Bernard Pidoux @ 2007-12-09 20:59 UTC (permalink / raw
To: linux-hams; +Cc: C Schuman, Ray Wells, kd4yal@tampabay.rr.com
Hi,
I found that my previous patch for ax25ipd did not give good results.
Here is the new patch.
diff -ruN ax25-apps-0.0.6.2/ax25ipd/ax25ipd.h
ax25-apps-0.0.6.2b/ax25ipd/ax25ipd.h
--- ax25ipd/ax25ipd.h 2005-12-23 21:21:40.000000000 +0100
+++ ax25ipd/ax25ipd.h 2007-12-06 11:21:58.000000000 +0100
@@ -41,7 +41,7 @@
*
*/
-#define VERS2 "Version 1.0.3"
+#define VERS2 "Version 1.0.5"
#define IPPROTO_AX25 93
#define DEFAULT_UDP_PORT 10093
diff -ruN ax25-apps-0.0.6.2/ax25ipd/config.c
ax25-apps-0.0.6.2b/ax25ipd/config.c
--- ax25ipd/config.c 2005-12-23 21:21:41.000000000 +0100
+++ ax25ipd/config.c 2007-12-09 13:55:41.000000000 +0100
@@ -310,8 +310,8 @@
strncpy(thost,q,255);
thost[255]=0;
} else {
- return -5;
- }
+ fprintf(stderr,"ax25ipd: %s host IP address unknown - will probe it
again later\n",q);
+ }
}
while ((q = strtok(NULL, " \t\n\r")) != NULL) {
diff -ruN ax25-apps-0.0.6.2/ax25ipd/HISTORY.ax25ipd
ax25-apps-0.0.6.2b/ax25ipd/HISTORY.ax25ipd
--- ax25ipd/HISTORY.ax25ipd 2005-12-23 21:21:41.000000000 +0100
+++ ax25ipd/HISTORY.ax25ipd 2007-12-06 11:27:02.000000000 +0100
@@ -49,6 +49,11 @@
* on UDP port. Also deleted exit(3) for errors occuring
with
* kiss serial port (f6bvp).
*
+ * 1.0.4 when started the program stopped if resolving host ip from
+ * its hostname was unsuccessful (f6bvp).
+ * Replaced this by a simple error warning as the remote host could
+ * be temporary down and the address will be checked again later.
+ *
* July97 Added support for broadcast addresses and routes.
* Converted route array to a linked list and removed the
* maximum route limitations. (vk2ktj)
73 de Bernard, f6bvp
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-12-09 20:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-04 15:11 [PATCH][ROSE] Trivial compilation CONFIG_INET=n case Pavel Emelyanov
2007-12-05 10:17 ` David Miller
2007-12-06 11:18 ` [PATCH] ax25ipd (ax25-apps-0.0.6.2) Bernard Pidoux
2007-12-09 20:59 ` Bernard Pidoux
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.