cfg80211: Validate frequencies nested in NL80211_ATTR_SCAN_FREQUENCIES
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / packet / internal.h
index c4e4b4561207354c49c9797dd5ea405867de0bcd..ca086c0c2c085cb3f3ff00834644d05d8769e7e3 100644 (file)
@@ -29,6 +29,7 @@ struct tpacket_kbdq_core {
        char            *pkblk_start;
        char            *pkblk_end;
        int             kblk_size;
+       unsigned int    max_frame_len;
        unsigned int    knum_blocks;
        uint64_t        knxt_seq_num;
        char            *prev;
@@ -113,6 +114,7 @@ struct packet_sock {
        unsigned int            tp_loss:1;
        unsigned int            tp_tx_has_off:1;
        unsigned int            tp_tstamp;
+       struct net_device __rcu *cached_dev;
        struct packet_type      prot_hook ____cacheline_aligned_in_smp;
 };