summaryrefslogtreecommitdiffstats
path: root/block/elevator.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2013-03-25 20:19:57 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-26 12:44:43 -0400
commitc1aad275b0293d2b1905ec95a945422262470684 (patch)
tree68ce7c931434840a46bffd1e9db5cb20c0feb7cd /block/elevator.c
parent38502af77e07b5d6650b9ff99a0b482d86366592 (diff)
downloadblackbird-op-linux-c1aad275b0293d2b1905ec95a945422262470684.tar.gz
blackbird-op-linux-c1aad275b0293d2b1905ec95a945422262470684.zip
packet: set transport header before doing xmit
Set the transport header for 1) some drivers (e.g ixgbe needs l4 header to do atr) 2) precise packet length estimation (introduced in 1def9238) needs l4 header to compute header length. So this patch first tries to get l4 header for packet socket through skb_flow_dissect(), and pretend no l4 header if skb_flow_dissect() fails. Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud