aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2017-10-04 15:22:05 +0000
committerTakashi Iwai <[email protected]>2017-10-11 13:14:51 +0000
commit738d9edcfd44f154924692e54109fb439fcf8bdd (patch)
tree0a1a1681acb0576176c90dca28fac2fa14684d81 /net/unix/af_unix.c
parentALSA: line6: Add a sanity check for invalid EPs (diff)
downloadkernel-738d9edcfd44f154924692e54109fb439fcf8bdd.tar.gz
kernel-738d9edcfd44f154924692e54109fb439fcf8bdd.zip
ALSA: usb-audio: Add sanity checks for invalid EPs
USB-audio driver may set up a URB containing the fixed EP without validating its presence for some non-class-compliant devices. This may end up with an oops-like kernel warning when submitted. For avoiding it, this patch adds the call of the new sanity-check helper for URBs. The checks are needed only for MIDI I/O as the other places have already some other checks. Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions