aboutsummaryrefslogtreecommitdiff
path: root/include/linux/vcodec
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2014-11-07 21:27:08 +0800
committerMoyster <oysterized@gmail.com>2019-05-03 19:27:15 +0200
commit55819f1a4dba0af21755818f587fc6e3e6e9132a (patch)
treec564a6e738521b46047d85bf93a540961084b74e /include/linux/vcodec
parent4c033c20ea53d9ffb77c92745d030e1efb8b8547 (diff)
ipv4: Use standard iovec primitive in raw_probe_proto_opt
commit 32b5913a931fd753faf3d4e1124b2bc2edb364da upstream. The function raw_probe_proto_opt tries to extract the first two bytes from the user input in order to seed the IPsec lookup for ICMP packets. In doing so it's processing iovec by hand and overcomplicating things. This patch replaces the manual iovec processing with a call to memcpy_fromiovecend. Change-Id: Id6c34005830f812ac6f08ca6c1e46ac2832b87e1 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/vcodec')
0 files changed, 0 insertions, 0 deletions