diff options
author | Rick Jones <rick.jones2@hp.com> | 2014-11-06 21:37:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-07 23:45:50 +0300 |
commit | 36cbb2452cbafca64dcdd3578047433787900cf0 (patch) | |
tree | 3e50381574c3850fc2a6c76a14777daa821f85a0 /net/dccp/dccp.h | |
parent | f46ad73ac6965f71d1a2ba217c4eb5b644e62949 (diff) | |
download | linux-36cbb2452cbafca64dcdd3578047433787900cf0.tar.xz |
udp: Increment UDP_MIB_IGNOREDMULTI for arriving unmatched multicasts
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
Signed-off-by: Rick Jones <rick.jones2@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/dccp.h')
0 files changed, 0 insertions, 0 deletions