]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IrDA]: Use alloc_skb() in IrDA TX path
authorSamuel Ortiz <samuel@sortiz.org>
Fri, 21 Jul 2006 21:50:41 +0000 (14:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jul 2006 21:50:41 +0000 (14:50 -0700)
commit485fb2c998a37d5c3c6aa082aa451e66db90f34a
tree6adc0e5c935072d82143e7354bc633eac7feed9b
parentb82631581372dc00b3507cedc3ad47af29efe962
[IrDA]: Use alloc_skb() in IrDA TX path

As pointed out by Christoph Hellwig, dev_alloc_skb() is not intended to be
used for allocating TX sk_buff. The IrDA stack was exclusively calling
dev_alloc_skb() on the TX path, and this patch fixes that.

Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
net/irda/af_irda.c
net/irda/ircomm/ircomm_lmp.c
net/irda/ircomm/ircomm_param.c
net/irda/ircomm/ircomm_tty.c
net/irda/iriap.c
net/irda/iriap_event.c
net/irda/irlan/irlan_common.c
net/irda/irlan/irlan_provider.c
net/irda/irlap.c
net/irda/irlap_frame.c
net/irda/irlmp.c
net/irda/irttp.c