[Crash-utility] Changes to inet_sock break net -s post 2.6.32

Dave Anderson anderson at redhat.com
Wed Oct 12 12:41:45 UTC 2011



----- Original Message -----
> Anyone working on this already?

Not me -- please feel free to fix it...  ;-)

Thanks,
  Dave

 
> Example from a 3.0 based kernel using crash 5.1.8:
> 
> crash-5.1.8> net -s 2641
> 
> net: invalid structure member offset: inet_opt_daddr
>      FILE: net.c  LINE: 829  FUNCTION: get_sock_info()
> 
> [/home/bobm/bin/crash-5.1.8] error trace: 4cccca => 4cb773 => 4ca4c0 => 4f766a
> PID: 2641   TASK: ffff8801221724c0  CPU: 1   COMMAND: "sctpsprayd"
> FD      SOCKET            SOCK       FAMILY:TYPE SOURCE-PORT  DESTINATION-PORT
> 
>   4f766a: OFFSET_verify+202
>   4ca4c0: sym_socket_dump+1920
>   4cb773: dump_sockets_workhorse+1571
>   4cccca: cmd_net+3658
> 
>  3 ffff88011e87b080 ffff88011d61fb80 net: invalid structure member offset: inet_opt_daddr
>      FILE: net.c  LINE: 829  FUNCTION: get_sock_info()
> 
> 
> 
> These two post-2.6.32 patches to include/net/inet_sock.h both made
> changes that would affect this:
> 
> 2009-10-19      Eric Dumazet    inet: rename some inet_sock fields
> 2010-12-10      Eric Dumazet    net: optimize INET input path further
> 
> Thanks,
> Bob Montgomery
> 
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
> 




More information about the Crash-utility mailing list