udp: multicast RX should increment SNMP/sk_drops counter in allocation failures
authorEric Dumazet <eric.dumazet@gmail.com>
Sun, 8 Nov 2009 10:20:19 +0000 (10:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Nov 2009 04:53:10 +0000 (20:53 -0800)
commitf6b8f32ca71406de718391369490f6b1e81fe0bb
tree6a9d65cc246c74a78d7274d1911baf38ffc8eaf0
parenta1ab77f97ed03f5dae66ae4c64375beffab83772
udp: multicast RX should increment SNMP/sk_drops counter in allocation failures

When skb_clone() fails, we should increment sk_drops and SNMP counters.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
net/ipv6/udp.c