diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-09-01 11:13:19 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 17:40:57 -0700 |
commit | 89d69d2b75a8f7e258f4b634cd985374cfd3202e (patch) | |
tree | 2f01d6ae1844c92ef09160ad1966edee34ee2d8a /net/atm | |
parent | dcbfef820bdd1cdb412ccf234840e23edf67014f (diff) | |
download | linux-3.10-89d69d2b75a8f7e258f4b634cd985374cfd3202e.tar.gz linux-3.10-89d69d2b75a8f7e258f4b634cd985374cfd3202e.tar.bz2 linux-3.10-89d69d2b75a8f7e258f4b634cd985374cfd3202e.zip |
net: make neigh_ops constant
These tables are never modified at runtime. Move to read-only
section.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm')
-rw-r--r-- | net/atm/clip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/clip.c b/net/atm/clip.c index 27f6852ce19..64629c35434 100644 --- a/net/atm/clip.c +++ b/net/atm/clip.c @@ -267,7 +267,7 @@ static void clip_neigh_error(struct neighbour *neigh, struct sk_buff *skb) kfree_skb(skb); } -static struct neigh_ops clip_neigh_ops = { +static const struct neigh_ops clip_neigh_ops = { .family = AF_INET, .solicit = clip_neigh_solicit, .error_report = clip_neigh_error, |