aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/icmp.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-08-29 05:21:30 -0400
committerDavid S. Miller <davem@davemloft.net>2020-08-31 12:33:34 -0700
commit5af68891dc16e1c8216705034a5e0144fd47779a (patch)
treea4b38a00fc4cd849aef3a975f4d26c315d58a78e /net/ipv4/icmp.c
parentnet: Use helper macro IP_MAX_MTU in __ip_append_data() (diff)
downloadlinux-dev-5af68891dc16e1c8216705034a5e0144fd47779a.tar.xz
linux-dev-5af68891dc16e1c8216705034a5e0144fd47779a.zip
net: clean up codestyle
This is a pure codestyle cleanup patch. No functional change intended. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/icmp.c')
-rw-r--r--net/ipv4/icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c
index 3b387dc3864f..8f2e974a1e4d 100644
--- a/net/ipv4/icmp.c
+++ b/net/ipv4/icmp.c
@@ -784,7 +784,7 @@ EXPORT_SYMBOL(icmp_ndo_send);
static void icmp_socket_deliver(struct sk_buff *skb, u32 info)
{
- const struct iphdr *iph = (const struct iphdr *) skb->data;
+ const struct iphdr *iph = (const struct iphdr *)skb->data;
const struct net_protocol *ipprot;
int protocol = iph->protocol;