From: Eric Dumazet Date: Tue, 24 Jul 2012 01:19:31 +0000 (+0000) Subject: tcp: early_demux fixes X-Git-Tag: v3.6-rc1~78^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cb429d692b341e972b12e6cd097364050ebbb26;p=pandora-kernel.git tcp: early_demux fixes 1) Remove a non needed pskb_may_pull() in tcp_v4_early_demux() and fix a potential bug if skb->head was reallocated (iph & th pointers were not reloaded) TCP stack will pull/check headers anyway. 2) must reload iph in ip_rcv_finish() after early_demux() call since skb->head might have changed. 3) skb->dev->ifindex can be now replaced by skb->skb_iif Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed