]> bbs.cooldavid.org Git - net-next-2.6.git/commit
net: rps: reset network header before calling skb_get_rxhash()
authorChangli Gao <xiaosuo@gmail.com>
Tue, 17 Aug 2010 19:00:56 +0000 (19:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2010 00:08:37 +0000 (17:08 -0700)
commit2d47b45951af087c1a4439c559309b0bf90a0718
treea81757118055d2b2340d9fce6312a9adf725dcae
parent91fe8173be4f4e330c6c3ab3fd4de96c11c98444
net: rps: reset network header before calling skb_get_rxhash()

skb_get_rxhash() assumes the network header pointer of the skb is set
properly after the commit:

commit bfb564e7391340638afe4ad67744a8f3858e7566
Author: Krishna Kumar <krkumar2@in.ibm.com>
Date:   Wed Aug 4 06:15:52 2010 +0000

    core: Factor out flow calculation from get_rps_cpu

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c