udp: Increment UDP_MIB_IGNOREDMULTI for arriving unmatched multicasts
authorRick Jones <rick.jones2@hp.com>
Thu, 6 Nov 2014 18:37:54 +0000 (10:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Nov 2014 20:45:50 +0000 (15:45 -0500)
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>

No differences found