summaryrefslogtreecommitdiff
path: root/privs.h
diff options
context:
space:
mode:
Diffstat (limited to 'privs.h')
0 files changed, 0 insertions, 0 deletions
-next.git/tree/?h=nds-private-remove&id=6756325a9a1e2d36b6210f4a42f77501c917ebb9'>6962ce79a5ccb72dfd53d474dba0395026707bfe parentfabb13db448efc23c47851550867fc46519de97e (diff)
ptp: oops in ptp_ioctl()
If we pass ERR_PTR(-EFAULT) to kfree() then it's going to oops. Fixes: 2ece068e1b1d ('ptp: use memdup_user().') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat