]> err.no Git - linux-2.6/commit
[NET]: Fix reversed error test in netif_tx_trylock
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Jul 2006 21:55:38 +0000 (14:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jul 2006 21:55:38 +0000 (14:55 -0700)
commit53c4b2cc7a05c034fd21d104d2ab43ea8cc0e075
treeede0678aaf5f3262773f10f64a221bef671cda55
parentbf9915cc55cb8d18d4e3a8de3d1578a9af4a2e8b
[NET]: Fix reversed error test in netif_tx_trylock

A non-zero return value indicates success from spin_trylock,
not error.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h