From 4727a8ca57904d87599c79d3662c584f4c560af4 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 10 Sep 2009 23:57:00 +0000 Subject: Another patch, and remove unnecessary --- kernel-7.1/freebsd-mcast-filter-array-in-sync.patch | 15 +++++++++++++++ kernel-7.1/freebsd-mcast-uninited.patch | 9 --------- 2 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 kernel-7.1/freebsd-mcast-filter-array-in-sync.patch delete mode 100644 kernel-7.1/freebsd-mcast-uninited.patch diff --git a/kernel-7.1/freebsd-mcast-filter-array-in-sync.patch b/kernel-7.1/freebsd-mcast-filter-array-in-sync.patch new file mode 100644 index 0000000..6c03878 --- /dev/null +++ b/kernel-7.1/freebsd-mcast-filter-array-in-sync.patch @@ -0,0 +1,15 @@ +--- sys/netinet/in_mcast.c.orig 2008-11-25 02:59:29.000000000 +0000 ++++ sys/netinet/in_mcast.c 2009-09-10 23:55:15.000000000 +0000 +@@ -1379,8 +1384,10 @@ + + /* +- * Remove the gap in the membership array. ++ * Remove the gap in the membership and filter arrays. + */ +- for (++idx; idx < imo->imo_num_memberships; ++idx) ++ for (++idx; idx < imo->imo_num_memberships; ++idx) { + imo->imo_membership[idx-1] = imo->imo_membership[idx]; ++ imo->imo_mfilters[idx-1] = imo->imo_mfilters[idx]; ++ } + imo->imo_num_memberships--; + diff --git a/kernel-7.1/freebsd-mcast-uninited.patch b/kernel-7.1/freebsd-mcast-uninited.patch deleted file mode 100644 index 612487b..0000000 --- a/kernel-7.1/freebsd-mcast-uninited.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- sys/netinet/in_mcast.c.orig 2008-11-25 02:59:29.000000000 +0000 -+++ sys/netinet/in_mcast.c 2009-09-10 23:46:07.000000000 +0000 -@@ -1200,4 +1200,6 @@ - return (error); - } -+ } else { -+ imf->imf_fmode = MCAST_EXCLUDE; - } - -- cgit v1.2.3