net: ipv4: use kfree_skb_reason() in ip_rcv_finish_core()
[platform/kernel/linux-rpi.git] / include / linux / skbuff.h
index 514fb80..cbd719e 100644 (file)
@@ -327,6 +327,15 @@ enum skb_drop_reason {
                                         * IP header (see
                                         * IPSTATS_MIB_INHDRERRORS)
                                         */
+       SKB_DROP_REASON_IP_RPFILTER,    /* IP rpfilter validate failed.
+                                        * see the document for rp_filter
+                                        * in ip-sysctl.rst for more
+                                        * information
+                                        */
+       SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST, /* destination address of L2
+                                                 * is multicast, but L3 is
+                                                 * unicast.
+                                                 */
        SKB_DROP_REASON_MAX,
 };