]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ATM: mpc, fix use after free
authorJiri Slaby <jslaby@suse.cz>
Sun, 10 Oct 2010 22:46:34 +0000 (22:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Oct 2010 18:05:42 +0000 (11:05 -0700)
commit5518b29f225dbdf47ded02cf229ff8225a2cdf82
tree63ff04e7b339623e41ba0d2d27b67bd4ae81bab3
parentf1ee89d5b007620353fb7dec1d34db4baa1a5571
ATM: mpc, fix use after free

Stanse found that mpc_push frees skb and then it dereferences it. It
is a typo, new_skb should be dereferenced there.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/mpc.c