diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-28 17:20:34 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 21:02:58 -0400 |
commit | d77072ecfb6d28287d5e2a61d60d87a3a444ac97 (patch) | |
tree | 459319535a67ecca3f615dd8aefc36f2b56a7f49 /net | |
parent | 75b31c33512f46bf650f4652272d8bef39881890 (diff) |
[NET]: Annotate dst_ops protocol
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/neighbour.c | 2 | ||||
-rw-r--r-- | net/ethernet/eth.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c index b6c69e1463e8..8ce8c471d868 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c | |||
@@ -1079,7 +1079,7 @@ struct neighbour *neigh_event_ns(struct neigh_table *tbl, | |||
1079 | } | 1079 | } |
1080 | 1080 | ||
1081 | static void neigh_hh_init(struct neighbour *n, struct dst_entry *dst, | 1081 | static void neigh_hh_init(struct neighbour *n, struct dst_entry *dst, |
1082 | u16 protocol) | 1082 | __be16 protocol) |
1083 | { | 1083 | { |
1084 | struct hh_cache *hh; | 1084 | struct hh_cache *hh; |
1085 | struct net_device *dev = dst->dev; | 1085 | struct net_device *dev = dst->dev; |
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c index 43863933f27f..4bd78c8cfb26 100644 --- a/net/ethernet/eth.c +++ b/net/ethernet/eth.c | |||
@@ -223,7 +223,7 @@ static int eth_header_parse(struct sk_buff *skb, unsigned char *haddr) | |||
223 | */ | 223 | */ |
224 | int eth_header_cache(struct neighbour *neigh, struct hh_cache *hh) | 224 | int eth_header_cache(struct neighbour *neigh, struct hh_cache *hh) |
225 | { | 225 | { |
226 | unsigned short type = hh->hh_type; | 226 | __be16 type = hh->hh_type; |
227 | struct ethhdr *eth; | 227 | struct ethhdr *eth; |
228 | struct net_device *dev = neigh->dev; | 228 | struct net_device *dev = neigh->dev; |
229 | 229 | ||