Re: [PATCH net-next 0/2] sctp: some small clean ups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/20/2014 12:27 PM, Wang Weidong wrote:
We have the macros in sctp.h, so use them for coding accordance
in sctp.

Thanks for doing this Wang.

I am actually wondering why we have these macro locking wrappers
and not use these functions directly? Hm, any reasons? Maybe we
should rather go in the other direction with this?

Wang Weidong (2):
   sctp: use sctp_local_bh_{disable|enable} instead
     local_bh_{disable|enable}
   sctp: use sctp_read_[un]lock instead of read_[un]lock

  net/sctp/endpointola.c   |  4 ++--
  net/sctp/input.c         | 10 +++++-----
  net/sctp/proc.c          | 12 ++++++------
  net/sctp/sm_make_chunk.c |  8 ++++----
  net/sctp/socket.c        |  8 ++++----
  5 files changed, 21 insertions(+), 21 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux