]> err.no Git - linux-2.6/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)
commit8dc22d2b642f8a6f14ef8878777a05311e5d1d7e
treefb6ec490d0318cf7c267668f6d06391b2033b2fb
parent518d1c9679f644811adaa22d853f43a83fbdae84
[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