aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2013-04-29 15:08:23 -0700
committerLinus Torvalds <[email protected]>2013-04-29 15:54:37 -0700
commit84d96d897671cfb386e722acbefdb3a79e115a8a (patch)
tree0d7559bf9434ccfd933cfd385ff2c3843e6fd396 /net/lapb/lapb_iface.c
parent4edd7ceff0662afde195da6f6c43e7cbe1ed2dc4 (diff)
mm: madvise: complete input validation before taking lock
In madvise(), there doesn't seem to be any reason for taking the &current->mm->mmap_sem before start and len_in have been validated. Incidentally, this removes the need for the out: label. [[email protected]: s/out_plug/out/, per David] Signed-off-by: Rasmus Villemoes <[email protected]> Acked-by: KOSAKI Motohiro <[email protected]> Acked-by: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions