git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bb1a20
)
ip_tunnel: don't add tunnel twice
author
Duan Jiong
<duanj.fnst@cn.fujitsu.com>
Thu, 15 May 2014 05:07:02 +0000
(13:07 +0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 16 May 2014 20:57:44 +0000
(16:57 -0400)
When using command "ip tunnel add" to add a tunnel, the tunnel will be added twice,
through ip_tunnel_create() and ip_tunnel_update().
Because the second is unnecessary, so we can just break after adding tunnel
through ip_tunnel_create().
Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel.c
patch
|
blob
|
history
diff --cc
net/ipv4/ip_tunnel.c
Simple merge