llc: fix another potential sk_buff leak in llc_ui_sendmsg()
[platform/kernel/linux-rpi.git] / net / llc / llc_conn.c
index ed2aca1..0b0c6f1 100644 (file)
@@ -55,6 +55,8 @@ int sysctl_llc2_busy_timeout = LLC2_BUSY_TIME * HZ;
  *     (executing it's actions and changing state), upper layer will be
  *     indicated or confirmed, if needed. Returns 0 for success, 1 for
  *     failure. The socket lock has to be held before calling this function.
+ *
+ *     This function always consumes a reference to the skb.
  */
 int llc_conn_state_process(struct sock *sk, struct sk_buff *skb)
 {