aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2010-08-11 16:12:35 -0700
committerDavid S. Miller <davem@davemloft.net>2010-08-11 16:12:35 -0700
commit5b75c4973ce779520b9d1e392483207d6f842cde (patch)
tree8d5934353d83b0caae1faecf120c8091cfbaff63 /net/dsa
parent3e9e5a5921f4b7dc098a01d01e5972bebb36491e (diff)
downloadkernel_samsung_smdk4412-5b75c4973ce779520b9d1e392483207d6f842cde.zip
kernel_samsung_smdk4412-5b75c4973ce779520b9d1e392483207d6f842cde.tar.gz
kernel_samsung_smdk4412-5b75c4973ce779520b9d1e392483207d6f842cde.tar.bz2
can: add limit for nframes and clean up signed/unsigned variables
This patch adds a limit for nframes as the number of frames in TX_SETUP and RX_SETUP are derived from a single byte multiplex value by default. Use-cases that would require to send/filter more than 256 CAN frames should be implemented in userspace for complexity reasons anyway. Additionally the assignments of unsigned values from userspace to signed values in kernelspace and vice versa are fixed by using unsigned values in kernelspace consistently. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Reported-by: Ben Hawkes <hawkes@google.com> Acked-by: Urs Thuermann <urs.thuermann@volkswagen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions