CARP should be capable to run on if_bridge(4). Unfortunately,
this commit is not enough to enable CARP operation on if_bridge(4), because the latter doesn't handle or even initialize its ifp->if_link_state. Reported by: Alexander Lunev <sol289 gmail.com>
This commit is contained in:
parent
cf61a32711
commit
9ca1fe0db8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234084
@ -1384,6 +1384,7 @@ carp_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *sa)
|
||||
/* Set the source MAC address to the Virtual Router MAC Address. */
|
||||
switch (ifp->if_type) {
|
||||
case IFT_ETHER:
|
||||
case IFT_BRIDGE:
|
||||
case IFT_L2VLAN: {
|
||||
struct ether_header *eh;
|
||||
|
||||
@ -1604,6 +1605,7 @@ carp_ioctl(struct ifreq *ifr, u_long cmd, struct thread *td)
|
||||
switch (ifp->if_type) {
|
||||
case IFT_ETHER:
|
||||
case IFT_L2VLAN:
|
||||
case IFT_BRIDGE:
|
||||
case IFT_FDDI:
|
||||
case IFT_ISO88025:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user