[AX25]: make ax25_queue_xmit a net_device parameter
I.e. not using skb->dev as a way to pass the parameter used to fill... skb->dev :-) Also to get the _type_trans open coded sequence grouped, next changesets will introduce ax25_type_trans. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
208a6dfbd6
commit
29c4be51e3
@@ -199,9 +199,7 @@ int ax25_rebuild_header(struct sk_buff *skb)
|
||||
skb = ourskb;
|
||||
}
|
||||
|
||||
skb->dev = dev;
|
||||
|
||||
ax25_queue_xmit(skb);
|
||||
ax25_queue_xmit(skb, dev);
|
||||
|
||||
put:
|
||||
ax25_put_route(route);
|
||||
|
Reference in New Issue
Block a user