On 1/23/19 10:51 AM, Eric Dumazet wrote:
On 01/22/2019 06:30 PM, Jacob Wen wrote:
Use pskb_may_pull() to make sure the optional fields are in skb linear
parts.
Signed-off-by: Jacob Wen
---
v1: fix warning: ISO C90 forbids mixed declarations and code
---
net/l2tp/l2tp_core.c | 12
On 01/22/2019 06:30 PM, Jacob Wen wrote:
> Use pskb_may_pull() to make sure the optional fields are in skb linear
> parts.
>
> Signed-off-by: Jacob Wen
> ---
> v1: fix warning: ISO C90 forbids mixed declarations and code
> ---
> net/l2tp/l2tp_core.c | 12 +++-
> 1 file changed, 11 ins
Use pskb_may_pull() to make sure the optional fields are in skb linear
parts.
Signed-off-by: Jacob Wen
---
v1: fix warning: ISO C90 forbids mixed declarations and code
---
net/l2tp/l2tp_core.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/net/l2tp/l2tp_core.c b