Re: [PATCH net-next] l2tp: remove useless device duplication test in l2tp_eth_create()

2017-04-27 Thread David Miller
From: Guillaume Nault Date: Wed, 26 Apr 2017 11:54:47 +0200 > There's no need to verify that cfg->ifname is unique at this point. > register_netdev() will return -EEXIST if asked to create a device with > a name that's alrealy in use. > > Signed-off-by: Guillaume Nault Yep that's right, applie

[PATCH net-next] l2tp: remove useless device duplication test in l2tp_eth_create()

2017-04-26 Thread Guillaume Nault
There's no need to verify that cfg->ifname is unique at this point. register_netdev() will return -EEXIST if asked to create a device with a name that's alrealy in use. Signed-off-by: Guillaume Nault --- net/l2tp/l2tp_eth.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/net/l2tp/l2tp_e