summaryrefslogtreecommitdiffstats
path: root/net/ipv6/xfrm6_protocol.c
Commit message (Collapse)AuthorAgeFilesLines
* xfrm: input: constify xfrm_input_afinfoFlorian Westphal2017-02-091-2/+1Star
| | | | | | | | | | Nothing writes to these structures (the module owner was not used). While at it, size xfrm_input_afinfo[] by the highest existing xfrm family (INET6), not AF_MAX. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
* xfrm6: Properly handle unsupported protocolsSteffen Klassert2014-05-061-1/+10
| | | | | | | | | We don't catch the case if an unsupported protocol is submitted to the xfrm6 protocol handlers, this can lead to NULL pointer dereferences. Fix this by adding the appropriate checks. Fixes: 7e14ea15 ("xfrm6: Add IPsec protocol multiplexer") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
* xfrm6: Add IPsec protocol multiplexerSteffen Klassert2014-03-141-0/+270
This patch adds an IPsec protocol multiplexer for ipv6. With this it is possible to add alternative protocol handlers, as needed for IPsec virtual tunnel interfaces. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>