From: Eric Dumazet Date: Tue, 18 Sep 2012 20:44:49 +0000 (+0000) Subject: net: more accurate network taps in transmit path X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b40863c667c16b7a73d4f034a8eab67029b5b15a;p=pandora-kernel.git net: more accurate network taps in transmit path dev_queue_xmit_nit() should be called right before ndo_start_xmit() calls or we might give wrong packet contents to taps users : Packet checksum can be changed, or packet can be linearized or segmented, and segments partially sent for the later case. Also a memory allocation can fail and packet never really hit the driver entry point. Reported-by: Jamie Gloudon Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed