mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 08:31:17 +00:00
Add const qualifier to the dst parameter of the ifnet if_output method.
This commit is contained in:
parent
bcb6ad36f2
commit
c46db3529c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249976
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue