Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kni: fix copy_from_user failure handling
[ upstream commit 21dde05 ] The correct thing to return if user gives a bad data is to return -EFAULT. Logging is also discouraged because it could be used as a DoS attack. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
- Loading branch information