]> 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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Sep 2012 14:05:20 +0000 (15:05 +0100)
commit10b4b8b20803ba45a77fec99a311bed774decc71
tree0f2e52ac38bf191f3af3cbad9b3f39ed43b1097a
parentd3759eaf54695290840a06248512366b4e87a9cc
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/staging/rtl8712/recv_linux.c