diff options
author | Jason Wang <jasowang@redhat.com> | 2013-03-25 20:19:55 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-27 10:39:07 -0700 |
commit | af7a606afaf5863914b32883d529ca27b4795eee (patch) | |
tree | 072762289f58f4b83a96ee2bb2bdebcb355856ad /lib/timerqueue.c | |
parent | 0eba2a6a88197e5581087c919be84312a144c936 (diff) |
macvtap: set transport header before passing skb to lower device
[ Upstream commit 9b4d669bc06c215d64f56f1eb0d4eb96e14d689d ]
Set the transport header for 1) some drivers (e.g ixgbe) needs l4 header 2)
precise packet length estimation (introduced in 1def9238) needs l4 header to
compute header length.
For the packets with partial checksum, the patch just set the transport header
to csum_start. Otherwise tries to use skb_flow_dissect() to get l4 offset, if it
fails, just pretend no l4 header.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions