projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f4c1d8
)
ipv6:icmp:remove unnecessary brackets
author
zhuyj
<zyjzyj2000@gmail.com>
Wed, 14 Jan 2015 09:23:59 +0000
(17:23 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 14 Jan 2015 21:35:49 +0000
(16:35 -0500)
There are too many brackets. Maybe only one bracket is enough.
Signed-off-by: Zhu Yanjun <Yanjun.Zhu@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/icmp.c
b/net/ipv6/icmp.c
index d674152b6ede5d6134f1a89cb8ebaa6a81308c73..a5e95199585ecb55bf63bbf02d2d34cacfbcca48 100644
(file)
--- a/
net/ipv6/icmp.c
+++ b/
net/ipv6/icmp.c
@@
-427,7
+427,7
@@
static void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info)
* Dest addr check
*/
- if (
(addr_type & IPV6_ADDR_MULTICAST || skb->pkt_type != PACKET_HOST)
) {
+ if (
addr_type & IPV6_ADDR_MULTICAST || skb->pkt_type != PACKET_HOST
) {
if (type != ICMPV6_PKT_TOOBIG &&
!(type == ICMPV6_PARAMPROB &&
code == ICMPV6_UNK_OPTION &&