]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/net/sock.h
Merge tag 'uuid-for-4.13-2' of git://git.infradead.org/users/hch/uuid
[linux.git] / include / net / sock.h
index 8c85791fc196c90d0ca52f8a6fadc65cf2faa479..7c0632c7e87043ca18fe5d32d7d55792f75ca6e8 100644 (file)
@@ -246,6 +246,7 @@ struct sock_common {
   *    @sk_policy: flow policy
   *    @sk_receive_queue: incoming packets
   *    @sk_wmem_alloc: transmit queue bytes committed
+  *    @sk_tsq_flags: TCP Small Queues flags
   *    @sk_write_queue: Packet sending queue
   *    @sk_omem_alloc: "o" is "option" or "other"
   *    @sk_wmem_queued: persistent queue size
@@ -257,6 +258,7 @@ struct sock_common {
   *    @sk_pacing_status: Pacing status (requested, handled by sch_fq)
   *    @sk_max_pacing_rate: Maximum pacing rate (%SO_MAX_PACING_RATE)
   *    @sk_sndbuf: size of send buffer in bytes
+  *    @__sk_flags_offset: empty field used to determine location of bitfield
   *    @sk_padding: unused element for alignment
   *    @sk_no_check_tx: %SO_NO_CHECK setting, set checksum in TX packets
   *    @sk_no_check_rx: allow zero checksum in RX packets
@@ -277,6 +279,7 @@ struct sock_common {
   *    @sk_drops: raw/udp drops counter
   *    @sk_ack_backlog: current listen backlog
   *    @sk_max_ack_backlog: listen backlog set in listen()
+  *    @sk_uid: user id of owner
   *    @sk_priority: %SO_PRIORITY setting
   *    @sk_type: socket type (%SOCK_STREAM, etc)
   *    @sk_protocol: which protocol this socket belongs in this network family
@@ -1125,7 +1128,7 @@ struct proto {
        atomic_t                socks;
 #endif
        int                     (*diag_destroy)(struct sock *sk, int err);
-};
+} __randomize_layout;
 
 int proto_register(struct proto *prot, int alloc_slab);
 void proto_unregister(struct proto *prot);