summaryrefslogtreecommitdiffstats
path: root/sys/ofed/drivers/infiniband/ulp
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-04-27 08:11:48 +0000
committerglebius <glebius@FreeBSD.org>2013-04-27 08:11:48 +0000
commitc6c2824a9afe3335cdd639094120b3ed062573ef (patch)
tree5ac5a319e283324a42e08efcd133b5aea1b55f9f /sys/ofed/drivers/infiniband/ulp
parentc0507568619dc28ceea42bb52443c6440398c3ae (diff)
downloadFreeBSD-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.c4
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;
OpenPOWER on IntegriCloud