ipv6: Add ipv6_renew_options_kern() that accepts a kernel mem pointer.
authorHuw Davies <huw@codeweavers.com>
Mon, 27 Jun 2016 19:02:50 +0000 (15:02 -0400)
committerPaul Moore <paul@paul-moore.com>
Mon, 27 Jun 2016 19:02:50 +0000 (15:02 -0400)
commite67ae213c72f72be50561c060ae17e92426651da
treefbcab23819aeb1ebddfe02c30743c37589794e22
parentd7cce01504a0ccb95b5007d846560cfccbc1947f
ipv6: Add ipv6_renew_options_kern() that accepts a kernel mem pointer.

The functionality is equivalent to ipv6_renew_options() except
that the newopt pointer is in kernel, not user, memory

The kernel memory implementation will be used by the CALIPSO network
labelling engine, which needs to be able to set IPv6 hop-by-hop
options.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/net/ipv6.h
net/ipv6/exthdrs.c