Skip to content

Commit

Permalink
net: ipv4: typo issue, remove erroneous semicolon
Browse files Browse the repository at this point in the history
Need remove erroneous semicolon, which is found by EXTRA_CFLAGS=-W,
the related commit number: c544193
("GRE: Refactor GRE tunneling code")

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Chen Gang authored and David S. Miller committed Apr 25, 2013
1 parent 0eb43b4 commit 2bac7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/ip_gre.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ static netdev_tx_t ipgre_xmit(struct sk_buff *skb,
if (dev->header_ops) {
/* Need space for new headers */
if (skb_cow_head(skb, dev->needed_headroom -
(tunnel->hlen + sizeof(struct iphdr))));
(tunnel->hlen + sizeof(struct iphdr))))
goto free_skb;

tnl_params = (const struct iphdr *)skb->data;
Expand Down

0 comments on commit 2bac7cb

Please sign in to comment.