Skip to content

Commit f1fbed0

Browse files
committed
esp6: Remame esp_input_done2
We are going to export the ipv4 and the ipv6 version of esp_input_done2. They are not static anymore and can't have the same name. So rename the ipv6 version to esp6_input_done2. Signed-off-by: Steffen Klassert <[email protected]>
1 parent d77e38e commit f1fbed0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

net/ipv6/esp6.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ static int esp6_output(struct xfrm_state *x, struct sk_buff *skb)
447447
return err;
448448
}
449449

450-
static int esp_input_done2(struct sk_buff *skb, int err)
450+
static int esp6_input_done2(struct sk_buff *skb, int err)
451451
{
452452
struct xfrm_state *x = xfrm_input_state(skb);
453453
struct xfrm_offload *xo = xfrm_offload(skb);
@@ -499,7 +499,7 @@ static void esp_input_done(struct crypto_async_request *base, int err)
499499
{
500500
struct sk_buff *skb = base->data;
501501

502-
xfrm_input_resume(skb, esp_input_done2(skb, err));
502+
xfrm_input_resume(skb, esp6_input_done2(skb, err));
503503
}
504504

505505
static void esp_input_restore_header(struct sk_buff *skb)
@@ -621,7 +621,7 @@ static int esp6_input(struct xfrm_state *x, struct sk_buff *skb)
621621
if ((x->props.flags & XFRM_STATE_ESN))
622622
esp_input_restore_header(skb);
623623

624-
ret = esp_input_done2(skb, ret);
624+
ret = esp6_input_done2(skb, ret);
625625

626626
out:
627627
return ret;

0 commit comments

Comments
 (0)