summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorRalf Bächle <ralf@dea.linux-mips.net>2002-08-04 05:39:58 +0200
committerRalf Bächle <ralf@dea.linux-mips.net>2002-08-04 05:39:58 +0200
commit4b04ea0bf73ed6cf4eb63e4e2ac818043263ddec (patch)
tree435b2cf35880769cee46e4abded420a940f8c0b7 /include/net
parent6a7ae9313a83f4599593b2459d2221d276909277 (diff)
Eleminate race caused by static variable in ax25_rt_find_route.
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ax25.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ax25.h b/include/net/ax25.h
index 2e141a48c15e..3e61c7eb5ebd 100644
--- a/include/net/ax25.h
+++ b/include/net/ax25.h
@@ -289,7 +289,8 @@ extern void ax25_rt_device_down(struct net_device *);
extern int ax25_rt_ioctl(unsigned int, void *);
extern int ax25_rt_get_info(char *, char **, off_t, int);
extern int ax25_rt_autobind(ax25_cb *, ax25_address *);
-extern ax25_route *ax25_rt_find_route(ax25_address *, struct net_device *);
+extern ax25_route *ax25_rt_find_route(ax25_route *, ax25_address *,
+ struct net_device *);
extern struct sk_buff *ax25_rt_build_path(struct sk_buff *, ax25_address *, ax25_address *, ax25_digi *);
extern void ax25_rt_free(void);