aboutsummaryrefslogtreecommitdiff
path: root/tools/spi/spidev_test.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-09-13 22:36:22 +0100
committerDavid Howells <dhowells@redhat.com>2016-09-13 22:36:22 +0100
commit89a80ed4c09afb2aff6abe32f6dd68605f857a7d (patch)
treeed063e32a21cebf65a15f6efbb01c2e25d60579c /tools/spi/spidev_test.c
parentb25de3605339c94a6c27d42efe8f7748ea206a8b (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>
Diffstat (limited to 'tools/spi/spidev_test.c')
0 files changed, 0 insertions, 0 deletions