aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/arp.h2
-rw-r--r--include/net/neighbour.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/arp.h b/include/net/arp.h
index c236270ec95e..716f43c5c98e 100644
--- a/include/net/arp.h
+++ b/include/net/arp.h
@@ -26,6 +26,6 @@ extern struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
26 const unsigned char *target_hw); 26 const unsigned char *target_hw);
27extern void arp_xmit(struct sk_buff *skb); 27extern void arp_xmit(struct sk_buff *skb);
28 28
29extern struct neigh_ops arp_broken_ops; 29extern const struct neigh_ops arp_broken_ops;
30 30
31#endif /* _ARP_H */ 31#endif /* _ARP_H */
diff --git a/include/net/neighbour.h b/include/net/neighbour.h
index 18b69b6cecaf..3817fda82a80 100644
--- a/include/net/neighbour.h
+++ b/include/net/neighbour.h
@@ -118,7 +118,7 @@ struct neighbour
118 int (*output)(struct sk_buff *skb); 118 int (*output)(struct sk_buff *skb);
119 struct sk_buff_head arp_queue; 119 struct sk_buff_head arp_queue;
120 struct timer_list timer; 120 struct timer_list timer;
121 struct neigh_ops *ops; 121 const struct neigh_ops *ops;
122 u8 primary_key[0]; 122 u8 primary_key[0];
123}; 123};
124 124