From: Gerrit Renker Date: Wed, 24 Oct 2007 12:12:09 +0000 (-0200) Subject: [DCCP]: Retrieve packet sequence number for error reporting X-Git-Tag: v2.6.24-rc2~132^2~12^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fde20105f332614b23a3131d706cd90bdd7db72d;p=pandora-kernel.git [DCCP]: Retrieve packet sequence number for error reporting This fixes a problem when analysing erroneous packets in dccp_v{4,6}_err: * dccp_hdr_seq currently takes an skb * however, the transport headers in the skb are shifted, due to the preceding IPv4/v6 header. Fixed for v4 and v6 by changing dccp_hdr_seq to take a struct dccp_hdr as argument. Verified that the correct sequence number is now reported in the error handler. Signed-off-by: Gerrit Renker Acked-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed