summaryrefslogtreecommitdiffstats
path: root/block/bsg.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-07-21 13:35:08 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-21 13:35:08 -0700
commit47112e25da41d9059626033986dc3353e101f815 (patch)
tree72857968c318960ba50a4cc7232041228e8361dc /block/bsg.c
parent6579e57b31d79d31d9b806e41ba48774e73257dc (diff)
downloadlinux-47112e25da41d9059626033986dc3353e101f815.tar.gz
linux-47112e25da41d9059626033986dc3353e101f815.tar.bz2
linux-47112e25da41d9059626033986dc3353e101f815.zip
udplite: Protection against coverage value wrap-around
This patch clamps the cscov setsockopt values to a maximum of 0xFFFF. Setsockopt values greater than 0xffff can cause an unwanted wrap-around. Further, IPv6 jumbograms are not supported (RFC 3838, 3.5), so that values greater than 0xffff are not even useful. Further changes: fixed a typo in the documentation. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions