path: root/net/ieee802154/raw.c
diff options
authorHerbert Xu <herbert@gondor.apana.org.au>2014-11-07 21:27:08 +0800
committerDavid S. Miller <davem@davemloft.net>2014-11-10 14:25:35 -0500
commit32b5913a931fd753faf3d4e1124b2bc2edb364da (patch)
treee65937a86f9af8eeac60db99a8ad1720d312998a /net/ieee802154/raw.c
parent1ef8019be8799c39f316a772ffdd705c46029752 (diff)
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/ieee802154/raw.c')
0 files changed, 0 insertions, 0 deletions

Privacy Policy