diff options
author | Eric Dumazet <edumazet@google.com> | 2013-05-13 21:25:52 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-27 11:27:30 -0700 |
commit | d193887e46642b1b210bdf0a6bf29af82b519c89 (patch) | |
tree | b15204ebfb42072fea18bdaf66b76972cefa1dfd /crypto/testmgr.h | |
parent | e6e045d5919fd03aef387c86064f67ea300914dc (diff) | |
download | linux-3.10-d193887e46642b1b210bdf0a6bf29af82b519c89.tar.gz linux-3.10-d193887e46642b1b210bdf0a6bf29af82b519c89.tar.bz2 linux-3.10-d193887e46642b1b210bdf0a6bf29af82b519c89.zip |
tcp: fix tcp_md5_hash_skb_data()
[ Upstream commit 54d27fcb338bd9c42d1dfc5a39e18f6f9d373c2e ]
TCP md5 communications fail [1] for some devices, because sg/crypto code
assume page offsets are below PAGE_SIZE.
This was discovered using mlx4 driver [2], but I suspect loopback
might trigger the same bug now we use order-3 pages in tcp_sendmsg()
[1] Failure is giving following messages.
huh, entered softirq 3 NET_RX ffffffff806ad230 preempt_count 00000100,
exited with 00000101?
[2] mlx4 driver uses order-2 pages to allocate RX frags
Reported-by: Matt Schnall <mischnal@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Bernhard Beck <bbeck@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/testmgr.h')
0 files changed, 0 insertions, 0 deletions