diff options
author | Eric Dumazet <edumazet@google.com> | 2012-09-18 20:44:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-19 15:32:42 -0400 |
commit | b40863c667c16b7a73d4f034a8eab67029b5b15a (patch) | |
tree | eb69adf4283657af39e74c9a9fa3928603b780bb /net/core/dst.c | |
parent | adccff34de1ef81564b7e6c436f762e7a1caf807 (diff) |
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 <jamie.gloudon@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dst.c')
0 files changed, 0 insertions, 0 deletions