From c560e4146fa799e24178f2eca56eae776557de9d Mon Sep 17 00:00:00 2001 From: nikchez01 Date: Thu, 1 Jun 2017 11:39:25 +0530 Subject: [PATCH] Update netdev.c ofdatapath throwing error if not run with --no-slicing option when run using mininet --- lib/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netdev.c b/lib/netdev.c index dc2748d1..3882ffd4 100644 --- a/lib/netdev.c +++ b/lib/netdev.c @@ -485,7 +485,7 @@ netdev_setup_slicing(struct netdev *netdev, uint16_t num_queues) /* remove any previous queue configuration for this device */ error = do_remove_qdisc(netdev->name); if (error) { - return error; + // return error; No need to return error as there may not exist any previous configuration } /* Configure tc queue discipline to allow slicing queues */