Commit 2bac7cb3 authored by Chen Gang's avatar Chen Gang Committed by David S. Miller
Browse files

net: ipv4: typo issue, remove erroneous semicolon

Need remove erroneous semicolon, which is found by EXTRA_CFLAGS=-W,
the related commit number: c5441932

("GRE: Refactor GRE tunneling code")

Signed-off-by: default avatarChen Gang <>
Acked-by: default avatarPravin B Shelar <>
Signed-off-by: default avatarDavid S. Miller <>
parent 0eb43b4b
...@@ -444,7 +444,7 @@ static netdev_tx_t ipgre_xmit(struct sk_buff *skb, ...@@ -444,7 +444,7 @@ static netdev_tx_t ipgre_xmit(struct sk_buff *skb,
if (dev->header_ops) { if (dev->header_ops) {
/* Need space for new headers */ /* Need space for new headers */
if (skb_cow_head(skb, dev->needed_headroom - if (skb_cow_head(skb, dev->needed_headroom -
(tunnel->hlen + sizeof(struct iphdr)))); (tunnel->hlen + sizeof(struct iphdr))))
goto free_skb; goto free_skb;
tnl_params = (const struct iphdr *)skb->data; tnl_params = (const struct iphdr *)skb->data;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment