r8169: fix kasan reported skb use-after-free.
authorfrançois romieu <romieu@fr.zoreil.com>
Wed, 11 Nov 2015 22:35:18 +0000 (23:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Nov 2015 18:51:01 +0000 (13:51 -0500)
commit39174291d8e8acfd1113214a943263aaa03c57c8
treeb2111d48db75fe5056922e976752850ea7b677b5
parentc5a37883f42be712a989e54d5d6c0159b0e56599
r8169: fix kasan reported skb use-after-free.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Reported-by: Dave Jones <davej@codemonkey.org.uk>
Fixes: d7d2d89d4b0af ("r8169: Add software counter for multicast packages")
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Corinna Vinschen <vinschen@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c