diff options
author | jhb <jhb@FreeBSD.org> | 2011-01-18 16:43:01 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-01-18 16:43:01 +0000 |
commit | 292fcec2b720247e26b77f641e15af1b66fbbc26 (patch) | |
tree | 56d667fc85842f4a6d114c704428abe7b7e197be /sys/dev/sis/if_sis.c | |
parent | 2f51f05968faf1f1d5e1cf7871fb83d26456be44 (diff) | |
download | FreeBSD-src-292fcec2b720247e26b77f641e15af1b66fbbc26.zip FreeBSD-src-292fcec2b720247e26b77f641e15af1b66fbbc26.tar.gz |
- Remove some always-true checks (checking for unsigned < 0).
- Only check largs->num against max_ldt_segment on amd64 for I386_SET_LDT
when descriptors are provided. Specifically, allow the 'start == 0'
and 'num == 0' special case used to free all LDT entries that previously
failed with EINVAL.
Submitted by: clang via rdivacky (some of 1)
Reviewed by: kib
Diffstat (limited to 'sys/dev/sis/if_sis.c')
0 files changed, 0 insertions, 0 deletions