From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Ricardo Leitner Subject: [PATCH v3 0/2] sctp: delay calls to sk_data_ready() as much as possible Date: Fri, 8 Apr 2016 16:41:26 -0300 Message-ID: Cc: Vlad Yasevich , Neil Horman , linux-sctp@vger.kernel.org, David Laight , Jakub Sitnicki To: netdev@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55828 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758663AbcDHTlj (ORCPT ); Fri, 8 Apr 2016 15:41:39 -0400 Sender: netdev-owner@vger.kernel.org List-ID: 1st patch is a preparation for the 2nd. The idea is to not call ->sk_data_ready() for every data chunk processed while processing packets but only once before releasing the socket. v2: patchset re-checked, small changelog fixes v3: on patch 2, make use of local vars to make it more readable Marcelo Ricardo Leitner (2): sctp: compress bit-wide flags to a bitfield on sctp_sock sctp: delay calls to sk_data_ready() as much as possible include/net/sctp/structs.h | 13 +++++++------ net/sctp/sm_sideeffect.c | 7 +++++++ net/sctp/ulpqueue.c | 4 ++-- 3 files changed, 16 insertions(+), 8 deletions(-) -- 2.5.0