From: Rick Jones Date: Thu, 6 Nov 2014 18:37:54 +0000 (-0800) Subject: udp: Increment UDP_MIB_IGNOREDMULTI for arriving unmatched multicasts X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~243 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36cbb2452cbafca64dcdd3578047433787900cf0;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed