aboutsummaryrefslogtreecommitdiff
path: root/kernel/seccomp.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2009-07-16 11:07:09 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-08-20 11:38:06 -0400
commit76266b2ad38c33fb2c1475cfeb35ed070adaba2b (patch)
tree6e0abe8fbfd68d8627099358b300c830c99eb42e /kernel/seccomp.c
parent240e86efd60e6bc232a072273a7f7794bcb035e0 (diff)
mwl8k: dma header manipulations can't fail
Adding and removing the DMA header that the mwl8k hardware requires on tx and provides on rx can never fail, since we are guaranteed to have enough headroom on the tx path to expand the packet, and we only ever shrink the packet on the rx path. (And on both paths we are guaranteed to be the only user of the skb we are handling.) This allows removing all of the skb clone handling in the tx and tx reclaim paths, and eliminates error checks in both the tx and rx paths, simplifying the code a bit more. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions