.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "BOND_ALB_ASSIGN_CURRENT_SLAVE" "" "06 October 2005" "" ""
.SH NAME
bond_alb_assign_current_slave \- assign new current_slave
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void bond_alb_assign_current_slave (struct bonding * \fIbond\fB, struct slave * \fInew_slave\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIbond\fB\fR
our bonding struct
.TP
\fB\fInew_slave\fB\fR
new slave to assign
.SH "DESCRIPTION"
.PP
Set the bond->current_slave to \fInew_slave\fR and handle
mac address swapping and promiscuity changes as needed.
.PP
Caller must hold bond ptrlock for write (or bond lock for write)