Commit 5cd562bc authored by Haibin Lu's avatar Haibin Lu Committed by Jie Liu
Browse files

UBL: Change the name of ub netdev to ubl.

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8GIXF


CVE: NA

-----------------------------------------------------------

The names of traditional Ethernet network devices are
the same as those of Layer 2 protocols. Similarly, for
the ub network device, the network device name should
be the same as the Layer 2 protocol ubl.

This patch changes the name of the ub network device
to ubl.

Signed-off-by: default avatarHaibin Lu <luhaibin10@hisilicon.com>
parent c015c19d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ EXPORT_SYMBOL(ubl_setup);
struct net_device *alloc_ubndev_mqs(int sizeof_priv, unsigned int txqs,
				    unsigned int rxqs)
{
	return alloc_netdev_mqs(sizeof_priv, "ubn%d", NET_NAME_UNKNOWN,
	return alloc_netdev_mqs(sizeof_priv, "ubl%d", NET_NAME_UNKNOWN,
				ubl_setup, txqs, rxqs);
}
EXPORT_SYMBOL(alloc_ubndev_mqs);