From: Hannes Reinecke Date: Thu, 17 Aug 2017 08:54:22 +0000 (+0200) Subject: 95fcoe: Switch back to using fipvlan for bnx2fc X-Git-Tag: 047~51^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36a8b2e3058518255dbd39e33bf2c72b7889cfae;p=thirdparty%2Fdracut.git 95fcoe: Switch back to using fipvlan for bnx2fc bnx2fc doesn't _actually_ need fcoemon, so fipvlan is sufficient to start the FCoE connection. And, in fact, fcoemon is started for every interface, causing subsequent invocations to fail with fcoemon[1157]: error 98 address already in use and fcoemon tearing down the connection. References: bsc#1052840 Signed-off-by: Hannes Reinecke --- diff --git a/modules.d/95fcoe/fcoe-up.sh b/modules.d/95fcoe/fcoe-up.sh index c2da0be21..570cd848d 100755 --- a/modules.d/95fcoe/fcoe-up.sh +++ b/modules.d/95fcoe/fcoe-up.sh @@ -64,10 +64,11 @@ if [ "$netdriver" = "bnx2x" ]; then udevadm settle --timeout=30 # Sleep for 13 s to allow dcb negotiation sleep 13 - write_fcoemon_cfg - fcoemon $syslogopt - fipvlan -c -s "$netif" -elif [ "$dcb" = "dcb" ]; then + fipvlan "$netif" -c -s + need_shutdown + exit +fi +if [ "$dcb" = "dcb" ]; then # wait for lldpad to be ready i=0 while [ $i -lt 60 ]; do