Add missing variable declarations when using RSS.

Reported by: bryanv@
This commit is contained in:
Adrian Chadd 2014-06-27 19:07:00 +00:00
parent 646707db80
commit dc847eb656
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267972

View File

@ -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) {