On 5/25/12 11:05 AM, Jesse Gross wrote:
No, the caller will perform that check. rpl_skb_gso_segment() is a compatibility replacement for skb_gso_segment() on older kernels. It needs to return a pointer, not an error code.

Hmmm... Yea, Im trying to do some debug on this.

I did the objdump, I think I found the line but I got stuck.

<0>EIP: [<f1f0cd29>] queue_userspace_packet+0x19/0x310 [openvswitch_mod] SS:ESP 0069:ef935af4

00001d10 <queue_userspace_packet>:
    1d10:   55                      push   %ebp
    1d11:   89 e5                   mov    %esp,%ebp
    1d13:   57                      push   %edi
    1d14:   56                      push   %esi
    1d15:   53                      push   %ebx
    1d16:   83 ec 30                sub    $0x30,%esp
    1d19:   89 45 d4                mov    %eax,0xffffffd4(%ebp)
    1d1c:   89 55 d0                mov    %edx,0xffffffd0(%ebp)
    1d1f:   89 4d cc                mov    %ecx,0xffffffcc(%ebp)
    1d22:   c7 45 d8 00 00 00 00    movl   $0x0,0xffffffd8(%ebp)
1d29: 66 83 ba 8c 00 00 00 cmpw $0x0,0x8c(%edx) <========= This line
    1d30:   00
1d31: 0f 85 e7 01 00 00 jne 1f1e <queue_userspace_packet+0x20e>
    1d37:   8b 75 d0                mov    0xffffffd0(%ebp),%esi
    1d3a:   bb e5 ff ff ff          mov    $0xffffffe5,%ebx
    1d3f:   8b 46 50                mov    0x50(%esi),%eax
    1d42:   83 c0 04                add    $0x4,%eax
    1d45:   3d ff ff 00 00          cmp    $0xffff,%eax
1d4a: 0f 8f b5 01 00 00 jg 1f05 <queue_userspace_packet+0x1f5>

OVS 1.4.0

I tried to compile the *.s files to put the asm() but it's not creating those files.

Any help on the next steps ?

--
Luiz Henrique Ozaki

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to