OSDN Git Service

[IPV4]: esp_output() misannotations
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 18 Mar 2008 05:50:23 +0000 (22:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Mar 2008 05:50:23 +0000 (22:50 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/esp4.c

index 091e670..f3ceca3 100644 (file)
@@ -168,7 +168,7 @@ static int esp_output(struct xfrm_state *x, struct sk_buff *skb)
                struct xfrm_encap_tmpl *encap = x->encap;
                struct udphdr *uh;
                __be32 *udpdata32;
-               unsigned int sport, dport;
+               __be16 sport, dport;
                int encap_type;
 
                spin_lock_bh(&x->lock);