]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: r8712u: fix bug in r8712_recv_indicatepkt()
authorEric Dumazet <edumazet@google.com>
Mon, 10 Sep 2012 19:22:11 +0000 (21:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:01 +0000 (10:39 -0700)
commit5d1405acad9e459eeb11644a752660accab5946d
treec372a7d31932c7286cf82233f495b5764551af53
parentbc6f2e80304f2d520fd2f6d57b643f1e4f077be9
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