diff options
author | Stef Walter <stef@memberwebs.com> | 2009-10-06 15:29:16 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2009-10-06 15:29:16 +0000 |
commit | ec63faf3ea0d9ede67c14e7c7ee3a8954584700c (patch) | |
tree | 4180bb231279288faee5fd394965b9e3988d4204 /kernel-9.0/freebsd-mcast-eaddrinuse.patch | |
parent | cb9e4787188c3ab0c90595a225a9feddd513ffc9 (diff) |
Add freebsd 9.0 patches
Diffstat (limited to 'kernel-9.0/freebsd-mcast-eaddrinuse.patch')
-rw-r--r-- | kernel-9.0/freebsd-mcast-eaddrinuse.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/kernel-9.0/freebsd-mcast-eaddrinuse.patch b/kernel-9.0/freebsd-mcast-eaddrinuse.patch new file mode 100644 index 0000000..5ac637f --- /dev/null +++ b/kernel-9.0/freebsd-mcast-eaddrinuse.patch @@ -0,0 +1,25 @@ +--- sys/netinet/in_mcast.c.orig 2009-09-30 16:43:35.000000000 +0000 ++++ sys/netinet/in_mcast.c 2009-09-30 17:04:59.000000000 +0000 +@@ -2010,5 +2010,5 @@ + * is atomic with allocation of a membership. + */ +- error = EINVAL; ++ error = EADDRINUSE; + goto out_inp_locked; + } +--- sys/netinet/in.c.orig 2009-09-15 19:18:34.000000000 +0000 ++++ sys/netinet/in.c 2009-09-29 19:16:22.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); + } |