diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-08-19 05:21:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-19 05:21:40 +0200 |
commit | e7a5965a81a29a13cd4994fa23a6a7a1488bcdb6 (patch) | |
tree | 57cbcab518552e8325f368c8e5255123fd1c97f4 /drivers/net/arm/w90p910_ether.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff) | |
download | linux-e7a5965a81a29a13cd4994fa23a6a7a1488bcdb6.tar.xz linux-e7a5965a81a29a13cd4994fa23a6a7a1488bcdb6.zip |
yellowfin: Fix buffer underrun after dev_alloc_skb() failure
yellowfin_init_ring() needs to clean up if dev_alloc_skb() fails and
should pass an error status up to the caller. This also prevents an
buffer underrun if failure occurred in the first iteration.
yellowfin_open() which calls yellowfin_init_ring() should free its
requested irq upon failure.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arm/w90p910_ether.c')
0 files changed, 0 insertions, 0 deletions