diff options
author | Stef Walter <stef@memberwebs.com> | 2009-09-11 16:28:48 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2009-09-11 16:28:48 +0000 |
commit | 981d4b941eb333d8088d64aeeb833b6d7d072f33 (patch) | |
tree | 854313852d168b5f73d74fcb215b121eabbd0ffe /kernel-7.2/freebsd-mcast-filter-array-in-sync.patch | |
parent | 7d0270d7783647e33f69e9889c33db255ca6b081 (diff) |
Copy patches for kernel-7.2
Diffstat (limited to 'kernel-7.2/freebsd-mcast-filter-array-in-sync.patch')
-rw-r--r-- | kernel-7.2/freebsd-mcast-filter-array-in-sync.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel-7.2/freebsd-mcast-filter-array-in-sync.patch b/kernel-7.2/freebsd-mcast-filter-array-in-sync.patch new file mode 100644 index 0000000..6c03878 --- /dev/null +++ b/kernel-7.2/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--; + |