diff options
author | glebius <glebius@FreeBSD.org> | 2013-04-27 08:11:48 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-04-27 08:11:48 +0000 |
commit | c6c2824a9afe3335cdd639094120b3ed062573ef (patch) | |
tree | 5ac5a319e283324a42e08efcd133b5aea1b55f9f /sys/ofed/drivers/infiniband/ulp | |
parent | c0507568619dc28ceea42bb52443c6440398c3ae (diff) | |
download | FreeBSD-src-c6c2824a9afe3335cdd639094120b3ed062573ef.zip FreeBSD-src-c6c2824a9afe3335cdd639094120b3ed062573ef.tar.gz |
Add const qualifier to the dst parameter of the ifnet if_output method.
Diffstat (limited to 'sys/ofed/drivers/infiniband/ulp')
-rw-r--r-- | sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c index 22b0fb9..ba3447f 100644 --- a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c @@ -88,7 +88,7 @@ static void ipoib_add_one(struct ib_device *device); static void ipoib_remove_one(struct ib_device *device); static void ipoib_start(struct ifnet *dev); static int ipoib_output(struct ifnet *ifp, struct mbuf *m, - struct sockaddr *dst, struct route *ro); + const struct sockaddr *dst, struct route *ro); static int ipoib_ioctl(struct ifnet *ifp, u_long command, caddr_t data); static void ipoib_input(struct ifnet *ifp, struct mbuf *m); @@ -1252,7 +1252,7 @@ ipoib_cleanup_module(void) */ static int ipoib_output(struct ifnet *ifp, struct mbuf *m, - struct sockaddr *dst, struct route *ro) + const struct sockaddr *dst, struct route *ro) { u_char edst[INFINIBAND_ALEN]; struct llentry *lle = NULL; |