|WARNING| pw106721 [PATCH] vhost: fix null pointer dereference

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Sat Jan 29 20:28:59 CET 2022


Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/106721

_apply patch failure_

Submitter: Weiguo Li <liwg06 at foxmail.com>
Date: Saturday, January 29 2022 19:07:35 
Applied on: CommitID:4042dc2037a1509596f7eb48370185434bad39cc
Apply patch set 106721 failed:

Checking patch lib/vhost/vhost_user.c...
error: while searching for:
	dev = rte_realloc_socket(old_dev, sizeof(*dev), 0, node);
	if (!dev) {
		VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc dev on node %d\n",
				dev->ifname, node);
		return old_dev;
	}


error: patch failed: lib/vhost/vhost_user.c:671
Applying patch lib/vhost/vhost_user.c with 1 reject...
Rejected hunk #1.
diff a/lib/vhost/vhost_user.c b/lib/vhost/vhost_user.c	(rejected hunks)
@@ -671,7 +671,7 @@ numa_realloc(struct virtio_net *dev, int index)
 	dev = rte_realloc_socket(old_dev, sizeof(*dev), 0, node);
 	if (!dev) {
 		VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc dev on node %d\n",
-				dev->ifname, node);
+				old_dev->ifname, node);
 		return old_dev;
 	}
 

https://lab.dpdk.org/results/dashboard/patchsets/20870/

UNH-IOL DPDK Community Lab


More information about the test-report mailing list