Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6.git] / net / ipv4 / udp.c
index 48cd88e..95e0d3b 100644 (file)
 #include <net/route.h>
 #include <net/checksum.h>
 #include <net/xfrm.h>
+#include <trace/events/udp.h>
 #include "udp_impl.h"
 
 struct udp_table udp_table __read_mostly;
@@ -1366,6 +1367,7 @@ static int __udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
                                         is_udplite);
                UDP_INC_STATS_BH(sock_net(sk), UDP_MIB_INERRORS, is_udplite);
                kfree_skb(skb);
+               trace_udp_fail_queue_rcv_skb(rc, sk);
                return -1;
        }