diff options
author | Tony Luck <tony.luck@intel.com> | 2012-05-16 13:58:29 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2012-05-16 13:58:29 -0700 |
commit | 7411d89535ce803404678eaf7e2f7ce095cf46b2 (patch) | |
tree | 98341b09e8e1a24639c1cb47f8e332b5811ba2ce /net/lapb/lapb_timer.c | |
parent | c7173271f3f63738e7ec5a2f074472c5feed3518 (diff) |
[IA64] Fix fast syscall version of getcpu()
GETCPU(2) says:
int getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache);
...
When either cpu or node is NULL nothing is written to the respective pointer.
But the fast system call path had no checks for NULL, and would
thus return -EFAULT if either (or both) of these were NULL.
Reported-by: Mike Frysinger <vapier@gentoo.org>
Tested-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions