staging: r8712u: fix bug in r8712_recv_indicatepkt()
commit7bdec51f7538d80268f35139bbb29b3ae2cb19e9
authorEric Dumazet <edumazet@google.com>
Mon, 10 Sep 2012 19:22:11 +0000 (10 21:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 16:47:24 +0000 (2 09:47 -0700)
treeb0d65aa7954856ce3b3dc8cb4c268f62888043c1
parentef7d68b798f01cb37a7cc2204b94ae139896eaae
staging: r8712u: fix bug in r8712_recv_indicatepkt()

commit abf02cfc179bb4bd30d05f582d61b3b8f429b813 upstream.

64bit arches have a buggy r8712u driver, let's fix it.

skb->tail must be set properly or network stack behavior is undefined.

Addresses https://bugzilla.redhat.com/show_bug.cgi?id=847525
Addresses https://bugzilla.kernel.org/show_bug.cgi?id=45071

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Dave Jones <davej@redhat.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/recv_linux.c