Revert "net: esp: cleanup esp_output_tail_tcp() in case of unsupported ESPINTCP"
This reverts commit 520a2c2f7f
.
This commit is contained in:
parent
e913a37a4d
commit
72abf1b25d
2 changed files with 4 additions and 2 deletions
|
@ -239,7 +239,8 @@ static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb)
|
||||||
#else
|
#else
|
||||||
static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb)
|
static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb)
|
||||||
{
|
{
|
||||||
WARN_ON(1);
|
kfree_skb(skb);
|
||||||
|
|
||||||
return -EOPNOTSUPP;
|
return -EOPNOTSUPP;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -255,7 +255,8 @@ static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb)
|
||||||
#else
|
#else
|
||||||
static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb)
|
static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb)
|
||||||
{
|
{
|
||||||
WARN_ON(1);
|
kfree_skb(skb);
|
||||||
|
|
||||||
return -EOPNOTSUPP;
|
return -EOPNOTSUPP;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue