From dc847eb6567e876375fd939c8b4c0c5ca5eed324 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Fri, 27 Jun 2014 19:07:00 +0000 Subject: [PATCH] Add missing variable declarations when using RSS. Reported by: bryanv@ --- sys/netinet/ip_output.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 44b40cb19879..6c0d860b3e8e 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -905,6 +905,10 @@ ip_ctloutput(struct socket *so, struct sockopt *sopt) { struct inpcb *inp = sotoinpcb(so); int error, optval; +#ifdef RSS + uint32_t rss_bucket; + int retval; +#endif error = optval = 0; if (sopt->sopt_level != IPPROTO_IP) {