[PATCH 6/8] compat-drivers: fix parameter dereference for drv_set_multicast_list()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



drv_set_multicast_list() does not take a pinter but the direct
parameter on kernel < 2.6.35.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 patches/collateral-evolutions/network/25-multicast-list_head.patch |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/patches/collateral-evolutions/network/25-multicast-list_head.patch b/patches/collateral-evolutions/network/25-multicast-list_head.patch
index 602d5e7..a20aa54 100644
--- a/patches/collateral-evolutions/network/25-multicast-list_head.patch
+++ b/patches/collateral-evolutions/network/25-multicast-list_head.patch
@@ -792,8 +792,8 @@ This also backport commit 2f787b0b76bf5de2eaa3ca3a29d89123ae03c856
 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35))
  		drv_set_multicast_list(local, sdata, &dev->mc);
 +#else
-+		drv_set_multicast_list(local, sdata, &dev->mc_count,
-+				       &dev->mc_list);
++		drv_set_multicast_list(local, sdata, dev->mc_count,
++				       dev->mc_list);
 +#endif
  
  	spin_lock_bh(&local->filter_lock);
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux