]> git.baikalelectronics.ru Git - kernel.git/commit
[NETROM]: Fix rebuild header mess
authorRalf Baechle <ralf@linux-mips.org>
Mon, 12 Sep 2005 21:21:48 +0000 (14:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Sep 2005 21:21:48 +0000 (14:21 -0700)
commitc2eb49236883071030f96de1b30df20e634a49ec
treebe2917b8e811c91d95a2413bb31ee44e99dadb88
parent080bbc9f1584fd7fc326d26614784bd14ea93701
[NETROM]: Fix rebuild header mess

For reason that probably nobody recalls NET/ROM does it's actual
packet transmission in nr_rebuild_header and even treats invocation of
it's hard_start_xmit method nr_xmit as a bug.  Fix that by splitting
the job done by nr_rebuild_header into two halves.  Along with that we
now also can get rid of the silly clone of the skb on transmit.

Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/nr_dev.c