diff options
author | stephen hemminger <shemminger@vyatta.com> | 2012-09-17 10:03:26 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-19 16:35:22 -0400 |
commit | 6b6e27255f29a6191ef8ad96bfcc392ab2ef6c71 (patch) | |
tree | a5ccefbbb2862f3777b83eefd1d10a2f550345f8 /net/bridge/br_private.h | |
parent | 1d3ff76759b70e201e6b379c37ac106c487ff506 (diff) |
netdev: make address const in device address management
The internal functions for add/deleting addresses don't change
their argument.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index f507d2af9646..11a984b87e62 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -363,10 +363,10 @@ extern void br_fdb_update(struct net_bridge *br, extern int br_fdb_delete(struct ndmsg *ndm, struct net_device *dev, - unsigned char *addr); + const unsigned char *addr); extern int br_fdb_add(struct ndmsg *nlh, struct net_device *dev, - unsigned char *addr, + const unsigned char *addr, u16 nlh_flags); extern int br_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb, |