Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2007 23:16:23 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 127455 for review
Message-ID:  <200710122316.l9CNGNSO018050@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=127455

Change 127455 by kmacy@kmacy_home:ethng on 2007/10/12 23:15:29

	make the lfsr for the rss_hash actually use feedback

Affected files ...

.. //depot/projects/ethng/src/sys/netinet/in_pcb.c#7 edit

Differences ...

==== //depot/projects/ethng/src/sys/netinet/in_pcb.c#7 (text+ko) ====

@@ -194,7 +194,7 @@
 	bzero(inp, inp_zero_size);
 	inp->inp_pcbinfo = pcbinfo;
 	inp->inp_socket = so;
-	inp->inp_rss_hash = calc_lfsr(rss_hash++);
+	inp->inp_rss_hash = rss_hash = calc_lfsr(rss_hash);
 #ifdef MAC
 	error = mac_init_inpcb(inp, M_NOWAIT);
 	if (error != 0)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710122316.l9CNGNSO018050>