summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/oki-semi
diff options
context:
space:
mode:
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>2014-05-15 13:07:02 +0800
committerDavid S. Miller <davem@davemloft.net>2014-05-16 16:57:44 -0400
commitee30ef4d45e7bb64a13e6f3c35b4c75b12a8a4e9 (patch)
tree810cc07129201a9bd578fbc6fe95a28f2c094d6b /drivers/net/ethernet/oki-semi
parent9bb1a208fddda94ea3c6df1fc9a225f92761cf1c (diff)
downloadblackbird-op-linux-ee30ef4d45e7bb64a13e6f3c35b4c75b12a8a4e9.tar.gz
blackbird-op-linux-ee30ef4d45e7bb64a13e6f3c35b4c75b12a8a4e9.zip
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 <duanj.fnst@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/oki-semi')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud