summaryrefslogtreecommitdiff
path: root/kernel-9.0
diff options
context:
space:
mode:
Diffstat (limited to 'kernel-9.0')
-rw-r--r--kernel-9.0/freebsd-route-messages-in-c.patch16
-rw-r--r--kernel-9.0/freebsd-route-messages-respect-fib-2.patch16
2 files changed, 16 insertions, 16 deletions
diff --git a/kernel-9.0/freebsd-route-messages-in-c.patch b/kernel-9.0/freebsd-route-messages-in-c.patch
deleted file mode 100644
index 309e485..0000000
--- a/kernel-9.0/freebsd-route-messages-in-c.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- sys/netinet/in.c.orig 2009-09-28 23:45:49.000000000 +0000
-+++ sys/netinet/in.c 2009-09-28 23:46:35.000000000 +0000
-@@ -1012,5 +1012,5 @@
- rt_newaddrmsg(RTM_ADD,
- (struct ifaddr *)target,
-- 0, &msg_rt);
-+ 0, &msg_rt, -1);
- RTFREE(pfx_ro.ro_rt);
- }
-@@ -1073,5 +1073,5 @@
- rt_newaddrmsg(RTM_DELETE,
- (struct ifaddr *)target,
-- 0, &rt);
-+ 0, &rt, -1);
- return (0);
- }
diff --git a/kernel-9.0/freebsd-route-messages-respect-fib-2.patch b/kernel-9.0/freebsd-route-messages-respect-fib-2.patch
index 514646f..cd4b99f 100644
--- a/kernel-9.0/freebsd-route-messages-respect-fib-2.patch
+++ b/kernel-9.0/freebsd-route-messages-respect-fib-2.patch
@@ -232,3 +232,19 @@
+#define PACKET_TAG_RTSOCK 25 /* rtsock extra info */
#define PACKET_TAG_IPOPTIONS 27 /* Saved IP options */
#define PACKET_TAG_CARP 28 /* CARP info */
+--- sys/netinet/in.c.orig 2009-09-28 23:45:49.000000000 +0000
++++ sys/netinet/in.c 2009-09-28 23:46:35.000000000 +0000
+@@ -1012,5 +1012,5 @@
+ rt_newaddrmsg(RTM_ADD,
+ (struct ifaddr *)target,
+- 0, &msg_rt);
++ 0, &msg_rt, -1);
+ RTFREE(pfx_ro.ro_rt);
+ }
+@@ -1073,5 +1073,5 @@
+ rt_newaddrmsg(RTM_DELETE,
+ (struct ifaddr *)target,
+- 0, &rt);
++ 0, &rt, -1);
+ return (0);
+ }