commit | 89a80ed4c09afb2aff6abe32f6dd68605f857a7d | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Tue Sep 13 22:36:22 2016 +0100 |
committer | David Howells <dhowells@redhat.com> | Tue Sep 13 22:36:22 2016 +0100 |
tree | ed063e32a21cebf65a15f6efbb01c2e25d60579c | |
parent | b25de3605339c94a6c27d42efe8f7748ea206a8b [diff] |
rxrpc: Use skb->len not skb->data_len skb->len should be used rather than skb->data_len when referring to the amount of data in a packet. This will only cause a malfunction in the following cases: (1) We receive a jumbo packet (validation and splitting both are wrong). (2) We see if there's extra ACK info in an ACK packet (we think it's not there and just ignore it). Signed-off-by: David Howells <dhowells@redhat.com>