From 499baf0aa7c19dc352e09bf9290f285213e951bd Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sun, 6 Sep 2015 20:20:48 +0000 Subject: [PATCH] Replace rss_m2cpuid with rss_soft_m2cpuid_v4 for ip_direct_nh.nh_m2cpuid, because the RSS hash may need to be recalculated. Submitted by: Tiwei Bie Differential Revision: https://reviews.freebsd.org/D3564 --- sys/netinet/ip_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index dbfcdc25333..a4060800194 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -160,7 +160,7 @@ static struct netisr_handler ip_direct_nh = { .nh_name = "ip_direct", .nh_handler = ip_direct_input, .nh_proto = NETISR_IP_DIRECT, - .nh_m2cpuid = rss_m2cpuid, + .nh_m2cpuid = rss_soft_m2cpuid_v4, .nh_policy = NETISR_POLICY_CPU, .nh_dispatch = NETISR_DISPATCH_HYBRID, };