summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/fix-igmp_delete-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/fix-igmp_delete-compile.patch')
-rw-r--r--target/linux/realtek/patches-2.6.30/fix-igmp_delete-compile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/fix-igmp_delete-compile.patch b/target/linux/realtek/patches-2.6.30/fix-igmp_delete-compile.patch
new file mode 100644
index 000000000..e667ff3cb
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/fix-igmp_delete-compile.patch
@@ -0,0 +1,14 @@
+--- linux-2.6.30.9/drivers/net/rtl819x/igmpsnooping/igmp_delete.c.old 2013-06-02 12:20:02.625953564 +0300
++++ linux-2.6.30.9/drivers/net/rtl819x/igmpsnooping/igmp_delete.c 2013-06-02 12:20:50.517954741 +0300
+@@ -93,11 +93,9 @@
+ int pid;
+ struct test_struct send_data,recv_data;
+ uint8 mac[6];
+- char *ptr;
+ pid=rtk_nlrecvmsg(__skb,sizeof(struct test_struct),&recv_data);
+ //printk("igmp_delete data:%s\n", recv_data.data);
+ memset(mac, 0, 6);
+- ptr = recv_data.data;
+ if(try_mac(recv_data.data, mac, 6, ':'))
+ {
+ rtl_delIgmpRecordByMacAddr(mac);