aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-03-13 13:43:18 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:25:23 -0400
commit88c7664f13bd1a36acb8566b93892a4c58759ac6 (patch)
tree18ead610bf54ef87f3832c61d64a4bad30d4f78e /net/dccp
parent4bedb45203eab92a87b4c863fe2d0cded633427f (diff)
[SK_BUFF]: Introduce icmp_hdr(), remove skb->h.icmph
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/ipv4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index b85437dae0e7..718f2fa923a1 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -207,8 +207,8 @@ static void dccp_v4_err(struct sk_buff *skb, u32 info)
207 (iph->ihl << 2)); 207 (iph->ihl << 2));
208 struct dccp_sock *dp; 208 struct dccp_sock *dp;
209 struct inet_sock *inet; 209 struct inet_sock *inet;
210 const int type = skb->h.icmph->type; 210 const int type = icmp_hdr(skb)->type;
211 const int code = skb->h.icmph->code; 211 const int code = icmp_hdr(skb)->code;
212 struct sock *sk; 212 struct sock *sk;
213 __u64 seq; 213 __u64 seq;
214 int err; 214 int err;