diff options
| author | Ursula Braun <[email protected]> | 2013-04-07 22:19:26 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-04-08 21:16:57 +0000 |
| commit | f9c41a62bba3f3f7ef3541b2a025e3371bcbba97 (patch) | |
| tree | 39aa5a3b8a584cff0d1974e60d22015a26d04e41 /net/ipv4/tcp_output.c | |
| parent | rtnetlink: Call nlmsg_parse() with correct header length (diff) | |
| download | kernel-f9c41a62bba3f3f7ef3541b2a025e3371bcbba97.tar.gz kernel-f9c41a62bba3f3f7ef3541b2a025e3371bcbba97.zip | |
af_iucv: fix recvmsg by replacing skb_pull() function
When receiving data messages, the "BUG_ON(skb->len < skb->data_len)" in
the skb_pull() function triggers a kernel panic.
Replace the skb_pull logic by a per skb offset as advised by
Eric Dumazet.
Signed-off-by: Ursula Braun <[email protected]>
Signed-off-by: Frank Blaschka <[email protected]>
Reviewed-by: Hendrik Brueckner <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
