teamd: lw: nsna_ping: only send ns on enabled port

We forget to check forced_send when using nsna_ping link_watch.
Ns is sent from all ports, which cause switch mac flapping. Some
reply packets are delivered to disabled port and dropped directly.

Fix it by checking forced_send and only send ns on enabled port.

Reported-by: LiLiang <>
Signed-off-by: Hangbin Liu <>
Signed-off-by: Jiri Pirko <>
1 file changed