[IPSEC]: output mode to take an xfrm state as input param
Expose IPSEC modes output path to take an xfrm state as input param. This makes it consistent with the input mode processing (which already takes the xfrm state as a param). Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Šī revīzija ir iekļauta:

revīziju iesūtīja
David S. Miller

vecāks
fda9ef5d67
revīzija
eb878e8457
@@ -25,9 +25,8 @@
|
||||
* its absence, that of the top IP header. The value of skb->data will always
|
||||
* point to the top IP header.
|
||||
*/
|
||||
static int xfrm6_transport_output(struct sk_buff *skb)
|
||||
static int xfrm6_transport_output(struct xfrm_state *x, struct sk_buff *skb)
|
||||
{
|
||||
struct xfrm_state *x = skb->dst->xfrm;
|
||||
struct ipv6hdr *iph;
|
||||
u8 *prevhdr;
|
||||
int hdr_len;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user