]> git.baikalelectronics.ru Git - kernel.git/commit
[ROSE]: Fix dereference of skb pointer after free.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 4 Jul 2006 02:29:15 +0000 (19:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jul 2006 02:29:15 +0000 (19:29 -0700)
commitd90e987bd5c3269a0c707ec9c7505d263202043e
treefb6ec490d0318cf7c267668f6d06391b2033b2fb
parent3f0e3d0f48d5a0e0e4750f8098108b3a478b52ed
[ROSE]: Fix dereference of skb pointer after free.

If rose_route_frame return success we'll dereference a stale pointer.
Likely this is only going to result in bad statistics for the ROSE
interface.

This fixes coverity 946.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rose/rose_dev.c