summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-05-10 19:45:52 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-05-16 13:08:14 -0400
commitbdbc59b35f2a66cdd9465f573f865cc2109ab33d (patch)
treefa7cb64c15081a820b99529ecc1735cbff0776de /net
parentdbd4fcaf8d664fab4163b1f8682e41ad8bff3444 (diff)
downloadlinux-stable-bdbc59b35f2a66cdd9465f573f865cc2109ab33d.tar.gz
linux-stable-bdbc59b35f2a66cdd9465f573f865cc2109ab33d.tar.bz2
linux-stable-bdbc59b35f2a66cdd9465f573f865cc2109ab33d.zip
NFC: Queue I frame fragments to the LLCP sockets queue tail
After testing our stack with large SNEP messages, we realized the fragments were arriving in reversed order. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r--net/nfc/llcp/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/llcp/commands.c b/net/nfc/llcp/commands.c
index c4c100dc52ee..bf8ae4f0b90c 100644
--- a/net/nfc/llcp/commands.c
+++ b/net/nfc/llcp/commands.c
@@ -488,7 +488,7 @@ int nfc_llcp_send_i_frame(struct nfc_llcp_sock *sock,
memcpy(skb_put(pdu, frag_len), msg_ptr, frag_len);
- skb_queue_head(&sock->tx_queue, pdu);
+ skb_queue_tail(&sock->tx_queue, pdu);
lock_sock(sk);