Skip to content
Commit 18b46179 authored by Carlos E. Ugarte's avatar Carlos E. Ugarte Committed by Stefan Richter
Browse files

ieee1394: fix to ether1394_tx in ether1394.c



This patch fixes a problem that occurs when packets cannot be sent across
the ieee1394 bus and we return NETDEV_TX_BUSY in the net driver "hard start
xmit" routine ether1394_tx. When we return NETDEV_TX_BUSY the stack will
call ether1394_tx again with the same skb. So we need to restore the header
to look like it did before we munged it for xmit over ieee1394.

[Stefan Richter: changed whitespace, deleted a local variable]

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent a515958d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment