summaryrefslogtreecommitdiff
path: root/sysdep/linux
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-03-29 20:33:45 +0000
committerMartin Mares <mj@ucw.cz>1999-03-29 20:33:45 +0000
commitfb71b23e6004d18480dcfdfbc2e7da7bbc4eb400 (patch)
tree5beb487618ae593554b0cbb0e9f7e56355c0f3db /sysdep/linux
parent78d5ec15043ab67fdf31feabe4a83129488625fe (diff)
Remember that we can run device syncer without kernel syncer
and vice versa now.
Diffstat (limited to 'sysdep/linux')
-rw-r--r--sysdep/linux/netlink/krt-iface.h1
-rw-r--r--sysdep/linux/netlink/netlink.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/sysdep/linux/netlink/krt-iface.h b/sysdep/linux/netlink/krt-iface.h
index 53167c86..38177b99 100644
--- a/sysdep/linux/netlink/krt-iface.h
+++ b/sysdep/linux/netlink/krt-iface.h
@@ -20,7 +20,6 @@ struct krt_if_status {
};
static inline void krt_if_preconfig(struct kif_config *c) { };
-static inline void krt_if_start(struct kif_proto *p) { };
static inline void krt_if_shutdown(struct kif_proto *p) { };
static inline void krt_if_io_init(void) { };
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c
index 0849e79f..00736ece 100644
--- a/sysdep/linux/netlink/netlink.c
+++ b/sysdep/linux/netlink/netlink.c
@@ -805,3 +805,9 @@ void
krt_scan_shutdown(struct krt_proto *p)
{
}
+
+void
+krt_if_start(struct kif_proto *p)
+{
+ nl_open();
+}