From: Duan Jiong Date: Thu, 15 May 2014 05:07:02 +0000 (+0800) Subject: ip_tunnel: don't add tunnel twice X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee30ef4d45e7bb64a13e6f3c35b4c75b12a8a4e9;p=pandora-kernel.git ip_tunnel: don't add tunnel twice 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed