diff options
author | Steven Barth <cyrus@openwrt.org> | 2014-05-23 08:53:38 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2014-05-23 08:53:38 +0000 |
commit | 874b26933d8193156814bd418be95580f1d2a0fd (patch) | |
tree | 559a52d2ce2365f55b4aafa0e61fd303d11b6cb3 | |
parent | 2381f4a7b0aad42e03818528d8b16c00118a4c05 (diff) | |
download | mtk-20170518-874b26933d8193156814bd418be95580f1d2a0fd.zip mtk-20170518-874b26933d8193156814bd418be95580f1d2a0fd.tar.gz mtk-20170518-874b26933d8193156814bd418be95580f1d2a0fd.tar.bz2 |
Add missing bracket in MAP-E FMR kernel support
SVN-Revision: 40830
4 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/generic/patches-3.10/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch b/target/linux/generic/patches-3.10/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch index 2397546..09b222d 100644 --- a/target/linux/generic/patches-3.10/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch +++ b/target/linux/generic/patches-3.10/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch @@ -207,7 +207,7 @@ index b05b609..c2216b0 100644 + struct icmphdr *ih = (struct icmphdr*)(((u8*)dsth) + dsth->ihl * 4); + + /* use icmp identifier as port */ -+ if (((u8*)&ih) <= end && ++ if (((u8*)&ih) <= end && ( + (use_dest_addr && ( + ih->type == ICMP_ECHOREPLY || + ih->type == ICMP_TIMESTAMPREPLY || @@ -218,7 +218,7 @@ index b05b609..c2216b0 100644 + ih->type == ICMP_TIMESTAMP || + ih->type == ICMP_INFO_REQUEST || + ih->type == ICMP_ADDRESS) -+ )) ++ ))) + portp = (u8*)&ih->un.echo.id; + } + diff --git a/target/linux/generic/patches-3.12/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch b/target/linux/generic/patches-3.12/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch index 2397546..09b222d 100644 --- a/target/linux/generic/patches-3.12/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch +++ b/target/linux/generic/patches-3.12/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch @@ -207,7 +207,7 @@ index b05b609..c2216b0 100644 + struct icmphdr *ih = (struct icmphdr*)(((u8*)dsth) + dsth->ihl * 4); + + /* use icmp identifier as port */ -+ if (((u8*)&ih) <= end && ++ if (((u8*)&ih) <= end && ( + (use_dest_addr && ( + ih->type == ICMP_ECHOREPLY || + ih->type == ICMP_TIMESTAMPREPLY || @@ -218,7 +218,7 @@ index b05b609..c2216b0 100644 + ih->type == ICMP_TIMESTAMP || + ih->type == ICMP_INFO_REQUEST || + ih->type == ICMP_ADDRESS) -+ )) ++ ))) + portp = (u8*)&ih->un.echo.id; + } + diff --git a/target/linux/generic/patches-3.13/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch b/target/linux/generic/patches-3.13/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch index 2397546..09b222d 100644 --- a/target/linux/generic/patches-3.13/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch +++ b/target/linux/generic/patches-3.13/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch @@ -207,7 +207,7 @@ index b05b609..c2216b0 100644 + struct icmphdr *ih = (struct icmphdr*)(((u8*)dsth) + dsth->ihl * 4); + + /* use icmp identifier as port */ -+ if (((u8*)&ih) <= end && ++ if (((u8*)&ih) <= end && ( + (use_dest_addr && ( + ih->type == ICMP_ECHOREPLY || + ih->type == ICMP_TIMESTAMPREPLY || @@ -218,7 +218,7 @@ index b05b609..c2216b0 100644 + ih->type == ICMP_TIMESTAMP || + ih->type == ICMP_INFO_REQUEST || + ih->type == ICMP_ADDRESS) -+ )) ++ ))) + portp = (u8*)&ih->un.echo.id; + } + diff --git a/target/linux/generic/patches-3.14/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch b/target/linux/generic/patches-3.14/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch index 2397546..09b222d 100644 --- a/target/linux/generic/patches-3.14/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch +++ b/target/linux/generic/patches-3.14/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch @@ -207,7 +207,7 @@ index b05b609..c2216b0 100644 + struct icmphdr *ih = (struct icmphdr*)(((u8*)dsth) + dsth->ihl * 4); + + /* use icmp identifier as port */ -+ if (((u8*)&ih) <= end && ++ if (((u8*)&ih) <= end && ( + (use_dest_addr && ( + ih->type == ICMP_ECHOREPLY || + ih->type == ICMP_TIMESTAMPREPLY || @@ -218,7 +218,7 @@ index b05b609..c2216b0 100644 + ih->type == ICMP_TIMESTAMP || + ih->type == ICMP_INFO_REQUEST || + ih->type == ICMP_ADDRESS) -+ )) ++ ))) + portp = (u8*)&ih->un.echo.id; + } + |