Loading include/linux/netdevice.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -187,7 +187,7 @@ struct hh_cache { { struct hh_cache *hh_next; /* Next entry */ struct hh_cache *hh_next; /* Next entry */ atomic_t hh_refcnt; /* number of users */ atomic_t hh_refcnt; /* number of users */ unsigned short hh_type; /* protocol identifier, f.e ETH_P_IP __be16 hh_type; /* protocol identifier, f.e ETH_P_IP * NOTE: For VLANs, this will be the * NOTE: For VLANs, this will be the * encapuslated type. --BLG * encapuslated type. --BLG */ */ Loading include/net/dst.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -84,7 +84,7 @@ struct dst_entry struct dst_ops struct dst_ops { { unsigned short family; unsigned short family; unsigned short protocol; __be16 protocol; unsigned gc_thresh; unsigned gc_thresh; int (*gc)(void); int (*gc)(void); Loading net/core/neighbour.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1079,7 +1079,7 @@ struct neighbour *neigh_event_ns(struct neigh_table *tbl, } } static void neigh_hh_init(struct neighbour *n, struct dst_entry *dst, static void neigh_hh_init(struct neighbour *n, struct dst_entry *dst, u16 protocol) __be16 protocol) { { struct hh_cache *hh; struct hh_cache *hh; struct net_device *dev = dst->dev; struct net_device *dev = dst->dev; Loading net/ethernet/eth.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -223,7 +223,7 @@ static int eth_header_parse(struct sk_buff *skb, unsigned char *haddr) */ */ int eth_header_cache(struct neighbour *neigh, struct hh_cache *hh) int eth_header_cache(struct neighbour *neigh, struct hh_cache *hh) { { unsigned short type = hh->hh_type; __be16 type = hh->hh_type; struct ethhdr *eth; struct ethhdr *eth; struct net_device *dev = neigh->dev; struct net_device *dev = neigh->dev; Loading Loading
include/linux/netdevice.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -187,7 +187,7 @@ struct hh_cache { { struct hh_cache *hh_next; /* Next entry */ struct hh_cache *hh_next; /* Next entry */ atomic_t hh_refcnt; /* number of users */ atomic_t hh_refcnt; /* number of users */ unsigned short hh_type; /* protocol identifier, f.e ETH_P_IP __be16 hh_type; /* protocol identifier, f.e ETH_P_IP * NOTE: For VLANs, this will be the * NOTE: For VLANs, this will be the * encapuslated type. --BLG * encapuslated type. --BLG */ */ Loading
include/net/dst.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -84,7 +84,7 @@ struct dst_entry struct dst_ops struct dst_ops { { unsigned short family; unsigned short family; unsigned short protocol; __be16 protocol; unsigned gc_thresh; unsigned gc_thresh; int (*gc)(void); int (*gc)(void); Loading
net/core/neighbour.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1079,7 +1079,7 @@ struct neighbour *neigh_event_ns(struct neigh_table *tbl, } } static void neigh_hh_init(struct neighbour *n, struct dst_entry *dst, static void neigh_hh_init(struct neighbour *n, struct dst_entry *dst, u16 protocol) __be16 protocol) { { struct hh_cache *hh; struct hh_cache *hh; struct net_device *dev = dst->dev; struct net_device *dev = dst->dev; Loading
net/ethernet/eth.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -223,7 +223,7 @@ static int eth_header_parse(struct sk_buff *skb, unsigned char *haddr) */ */ int eth_header_cache(struct neighbour *neigh, struct hh_cache *hh) int eth_header_cache(struct neighbour *neigh, struct hh_cache *hh) { { unsigned short type = hh->hh_type; __be16 type = hh->hh_type; struct ethhdr *eth; struct ethhdr *eth; struct net_device *dev = neigh->dev; struct net_device *dev = neigh->dev; Loading