automatic DPDK test reports
 help / color / mirror / Atom feed
From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: |WARNING| pw106721 [PATCH] vhost: fix null pointer dereference
Date: Sat, 29 Jan 2022 14:28:59 -0500 (EST)	[thread overview]
Message-ID: <20220129192859.3A0286D509@noxus.dpdklab.iol.unh.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]

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

_apply patch failure_

Submitter: Weiguo Li <liwg06@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

                 reply	other threads:[~2022-01-29 19:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220129192859.3A0286D509@noxus.dpdklab.iol.unh.edu \
    --to=dpdklab@iol.unh.edu \
    --cc=dpdk-test-reports@iol.unh.edu \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).