As NIC multicast filtering isn't perfect, and some platforms are quite content to spew broadcasts, we should not trigger an event for skb:kfree_skb when we do not have a match for such an incoming datagram. We do though want to avoid sweeping the matter under the rug entirely, so increment a suitable statistic. This incorporates feedback from David L. Stevens, Karl Neiss and Eric Dumazet. V3 - use bool per David Miller
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -156,6 +156,7 @@ enum · 155 unmodified lines | ||
| 156 | 156 | UDP_MIB_RCVBUFERRORS, /* RcvbufErrors */ |
| 157 | 157 | UDP_MIB_SNDBUFERRORS, /* SndbufErrors */ |
| 158 | 158 | UDP_MIB_CSUMERRORS, /* InCsumErrors */ |
| 159 | + UDP_MIB_IGNOREDMULTI, /* IgnoredMulti */ | |
| 159 | 160 | __UDP_MIB_MAX |
| 160 | 161 | }; |
| 161 | 162 | |