]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
NET: pch, fix use after free
authorJiri Slaby <jslaby@suse.cz>
Sun, 10 Oct 2010 23:26:56 +0000 (23:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Oct 2010 18:13:59 +0000 (11:13 -0700)
commit419c20465d6319274e7286f0966e2390540e6e0a
treec4fca8f173fdd69b07a08455b34e0c01aacbe949
parent34d101dd6204bd100fc2e6f7b5f9a10f959ce2c9
NET: pch, fix use after free

Stanse found that pch_gbe_xmit_frame uses skb after it is freed. Fix
that.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Masayuki Ohtake <masa-korg@dsn.okisemi.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pch_gbe/pch_gbe_main.c