[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)
commit3f2aadd041a7a3e732d182c3770b3fa95a2300b2
treebe2917b8e811c91d95a2413bb31ee44e99dadb88
parent6f74998e5c3b4610e6eba06babf16547369c512a
[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