Eric Dumazet <eric.duma...@gmail.com> writes:
> On Fri, 2018-01-26 at 00:44 +1100, Daniel Axtens wrote:
>> Hi Eric,
>>
>> > May I ask which tree are you targeting ?
>> >
>> > ( Documentation/networking/netdev-FAQ.txt )
>>
>> I have
Hi Eric,
> May I ask which tree are you targeting ?
>
> ( Documentation/networking/netdev-FAQ.txt )
I have been targeting net-next, but I haven't pulled for about two
weeks. I will rebase and if there are conflicts I will resend early next
week.
> Anything touching GSO is very risky and should
-by: Daniel Axtens <d...@axtens.net>
---
net/core/dev.c | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index 6c96c26aadbf..f09eece2cd21 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1830,13 +1830,11 @@ static inlin
that to check.
Signed-off-by: Daniel Axtens <d...@axtens.net>
---
include/linux/skbuff.h | 1 +
net/core/dev.c | 7 +++---
net/core/skbuff.c | 67 +++---
3 files changed, 57 insertions(+), 18 deletions(-)
diff --git a/include/linux/skbuff.h b/i
We're about to use this elsewhere, so move it into the header with
the other related functions like skb_gso_network_seglen().
Signed-off-by: Daniel Axtens <d...@axtens.net>
---
include/linux/skbuff.h | 15 +++
net/sched/sch_tbf.c| 10 --
2 files changed, 15 inse
of a split GSO
skb (L2+L3+L4+payload), and the names get confusing, so rename
skb_gso_validate_mtu to skb_gso_validate_network_len
Signed-off-by: Daniel Axtens <d...@axtens.net>
---
include/linux/skbuff.h | 2 +-
net/core/skbuff.c | 9 +
ne
.@gmail.com>
Cc: manish.cho...@cavium.com
Cc: d...@openvswitch.org
Daniel Axtens (4):
net: rename skb_gso_validate_mtu -> skb_gso_validate_network_len
net: move skb_gso_mac_seglen to skbuff.h
net: is_skb_forwardable: check the size of GSO segments
net: check the size of a packet
Pravin Shelar <pshe...@ovn.org> writes:
> On Thu, Jan 18, 2018 at 5:28 PM, Daniel Axtens <d...@axtens.net> wrote:
>> Pravin Shelar <pshe...@ovn.org> writes:
>>
>>> On Thu, Jan 18, 2018 at 5:08 AM, Daniel Axtens <d...@axtens.net> wr
Daniel Axtens <d...@axtens.net> writes:
> Pravin Shelar <pshe...@ovn.org> writes:
>
>> On Thu, Jan 18, 2018 at 5:08 AM, Daniel Axtens <d...@axtens.net> wrote:
>>> Pravin Shelar <pshe...@ovn.org> writes:
>>>
>>>> On Mon, Jan 15,
Pravin Shelar <pshe...@ovn.org> writes:
> On Thu, Jan 18, 2018 at 5:08 AM, Daniel Axtens <d...@axtens.net> wrote:
>> Pravin Shelar <pshe...@ovn.org> writes:
>>
>>> On Mon, Jan 15, 2018 at 6:09 PM, Daniel Axtens <d...@axtens.net> wrote:
>
Daniel Axtens <d...@axtens.net> writes:
> Jason Wang <jasow...@redhat.com> writes:
>
>> On 2018年01月18日 16:28, Pravin Shelar wrote:
>>> On Mon, Jan 15, 2018 at 6:09 PM, Daniel Axtens <d...@axtens.net> wrote:
>>>> When regular packets are for
t.
Signed-off-by: Daniel Axtens <d...@axtens.net>
---
net/openvswitch/vport.c | 37 ++---
1 file changed, 30 insertions(+), 7 deletions(-)
diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c
index b6c8524032a0..290eeaa82344 100644
--- a/net/ope
large by creating a
skb_gso_validate_len() routine which is similar to
skb_gso_validate_mtu(), but which considers L2 headers, and wire
it up in is_skb_forwardable().
Signed-off-by: Daniel Axtens <d...@axtens.net>
---
include/linux/skbuff.h | 1 +
net/core/dev.c | 7 ---
ne
We're about to use this elsewhere, so move it into the header with
the other related functions like skb_gso_network_seglen().
Signed-off-by: Daniel Axtens <d...@axtens.net>
---
include/linux/skbuff.h | 15 +++
net/sched/sch_tbf.c| 10 --
2 files changed, 15 inse
specialised algorithm for
checking lengths. Wire up checking for that in patch 3.
[0]: https://patchwork.ozlabs.org/patch/859410/
Cc: manish.cho...@cavium.com
Cc: d...@openvswitch.org
Daniel Axtens (3):
net: move skb_gso_mac_seglen to skbuff.h
net: is_skb_forwardable: validate length of GSO packet
I was trying to wrap my head around meaning of mru, and realised
that the second line of the comment defining it had somehow
ended up after the line defining cutlen, leading to much confusion.
Reorder the lines to make sense.
Signed-off-by: Daniel Axtens <d...@axtens.net>
---
net/openv
16 matches
Mail list logo