From dac8b80c8c5f3da019ed921bdf2e95fe368d7169 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 10 Sep 2009 16:23:56 +0000 Subject: Separate update-kernel patches and add new one --- kernel-8.0/freebsd-mcast-filter-array-in-sync.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 kernel-8.0/freebsd-mcast-filter-array-in-sync.patch (limited to 'kernel-8.0/freebsd-mcast-filter-array-in-sync.patch') diff --git a/kernel-8.0/freebsd-mcast-filter-array-in-sync.patch b/kernel-8.0/freebsd-mcast-filter-array-in-sync.patch new file mode 100644 index 0000000..49f2408 --- /dev/null +++ b/kernel-8.0/freebsd-mcast-filter-array-in-sync.patch @@ -0,0 +1,14 @@ +--- sys/netinet/in_mcast.c.orig 2009-09-09 19:33:22.000000000 +0000 ++++ sys/netinet/in_mcast.c 2009-09-10 05:28:20.000000000 +0000 +@@ -2280,7 +2292,9 @@ + + if (is_final) { +- /* Remove the gap in the membership array. */ +- for (++idx; idx < imo->imo_num_memberships; ++idx) ++ /* Remove the gap in the membership and filter array. */ ++ 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--; + } -- cgit v1.2.3