Subject: SMC91C92 (if_sm.c/smc91cxx.c) gets unicast packet twice on BPF
To: None <email@example.com>
From: Jun-ichiro itojun Hagino <firstname.lastname@example.org>
Date: 01/14/2000 08:51:10
it seems to me that "sm" driver (SMC91C92 for Megahertz XJ10BT)
gets packet injected twice for unicast packet originated from
the card itself. It looks to be not very right thing to happen.
Fix itself is trivial (don't inject packet to bpf on inbound after
checking certain conditions - or should we avoid bpf_mtap on outbound?),
but should we be checking this condition, or just leave it as is?