# HG changeset patch # User yx160601 # Date 1171891727 28800 # Node ID 773fb303fd36b55c780064dbd55d6e3b2239f3c0 # Parent a021f8a95be6c2a957fb073af07deaa4737ecf77 6523130 IPfilter does not apply rules when network interfaces are plumbed after ipfilter starts diff -r a021f8a95be6 -r 773fb303fd36 usr/src/uts/common/inet/ipf/fil.c --- a/usr/src/uts/common/inet/ipf/fil.c Mon Feb 19 03:51:40 2007 -0800 +++ b/usr/src/uts/common/inet/ipf/fil.c Mon Feb 19 05:28:47 2007 -0800 @@ -3687,8 +3687,6 @@ * Lookup all the interface names that are part of the rule. */ for (i = 0; i < 4; i++) { - if ((ifp != NULL) && (fr->fr_ifas[i] != ifp)) - continue; fr->fr_ifas[i] = fr_ifsync(action, rv, ifname, fr->fr_ifnames[i], ifp, fr->fr_ifas[i],