]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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>
Mon, 10 Sep 2012 22:58:31 +0000 (15:58 -0700)
commitabf02cfc179bb4bd30d05f582d61b3b8f429b813
tree16f5eb929c54b6b8d00b82ef1288744980551f8e
parent6d7d9798ad5c97ee4e911dd070dc12dc5ae55bd0
staging: r8712u: fix bug in r8712_recv_indicatepkt()

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>
Cc: stable <stable@vger.kernel.org> [2.6.37+]
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/recv_linux.c