summaryrefslogtreecommitdiff
path: root/net/9p/trans_common.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2014-11-07 16:27:08 +0300
committerDavid S. Miller <davem@davemloft.net>2014-11-10 22:25:35 +0300
commit32b5913a931fd753faf3d4e1124b2bc2edb364da (patch)
treee65937a86f9af8eeac60db99a8ad1720d312998a /net/9p/trans_common.h
parent1ef8019be8799c39f316a772ffdd705c46029752 (diff)
downloadlinux-32b5913a931fd753faf3d4e1124b2bc2edb364da.tar.xz
ipv4: Use standard iovec primitive in raw_probe_proto_opt
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. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/9p/trans_common.h')
0 files changed, 0 insertions, 0 deletions