diff options
author | Arnaldo Carvalho de Melo | 2007-03-13 18:43:18 +0100 |
---|---|---|
committer | David S. Miller | 2007-04-26 07:25:23 +0200 |
commit | 88c7664f13bd1a36acb8566b93892a4c58759ac6 (patch) | |
tree | 18ead610bf54ef87f3832c61d64a4bad30d4f78e /net/dccp/ipv4.c | |
parent | [SK_BUFF]: Introduce udp_hdr(), remove skb->h.uh (diff) | |
download | kernel-qcow2-linux-88c7664f13bd1a36acb8566b93892a4c58759ac6.tar.gz kernel-qcow2-linux-88c7664f13bd1a36acb8566b93892a4c58759ac6.tar.xz kernel-qcow2-linux-88c7664f13bd1a36acb8566b93892a4c58759ac6.zip |
[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/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 4 |
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) (iph->ihl << 2)); struct dccp_sock *dp; struct inet_sock *inet; - const int type = skb->h.icmph->type; - const int code = skb->h.icmph->code; + const int type = icmp_hdr(skb)->type; + const int code = icmp_hdr(skb)->code; struct sock *sk; __u64 seq; int err; |