lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1305290648-9613-1-git-send-email-sjur.brandeland@stericsson.com>
Date:	Fri, 13 May 2011 14:43:58 +0200
From:	Sjur Brændeland <sjur.brandeland@...ricsson.com>
To:	"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Cc:	Sjur Brændeland <sjur.brandeland@...ricsson.com>
Subject: [net-next-2.6 00/10] caif: rcu, refactoring and bugfixes

This patch-set introduces RCU in the CAIF stack and
fixes problems found when removing CAIF Link layer during traffic.

The pattern used for RCU is mostly this:
	rcu_read_lock();
	p = get();
	hold(p);
	rcu_read_unlock();
	use(p);
	put(p);

And when freeing:
	synchronize_rcu();
	wait_refcnt(p);
	kfree(p);

Sjur Brændeland (10):
  caif: Use rcu_read_lock in CAIF mux layer.
  caif: Use RCU instead of spin-lock in caif_dev.c
  caif: Use RCU and lists in cfcnfg.c for managing caif link layers
  caif: Add ref-count to framing layer
  caif: Move refcount from service layer to sock and dev.
  caif: Protected in-flight packets using dev or sock refcont.
  caif: prepare support for namespaces
  caif: Handle dev_queue_xmit errors.
  caif: Bugfix debugfs directory name must be unique.
  caif: remove unesesarry exports

 include/net/caif/caif_dev.h |   43 +++--
 include/net/caif/cfcnfg.h   |   71 ++-----
 include/net/caif/cfctrl.h   |    3 +-
 include/net/caif/cffrml.h   |    7 +-
 include/net/caif/cfpkt.h    |    1 -
 include/net/caif/cfsrvl.h   |   29 ++--
 net/caif/Makefile           |    2 +-
 net/caif/caif_config_util.c |   99 ---------
 net/caif/caif_dev.c         |  349 +++++++++++++++++-------------
 net/caif/caif_socket.c      |   71 +++++--
 net/caif/cfcnfg.c           |  505 ++++++++++++++++++++++++++++---------------
 net/caif/cfctrl.c           |  121 ++++++++---
 net/caif/cffrml.c           |   54 +++++-
 net/caif/cfmuxl.c           |  119 +++++++----
 net/caif/cfpkt_skbuff.c     |   27 +--
 net/caif/cfrfml.c           |    4 +-
 net/caif/cfsrvl.c           |   35 +++-
 net/caif/cfveil.c           |    8 +-
 net/caif/chnl_net.c         |   45 +++-
 19 files changed, 929 insertions(+), 664 deletions(-)
 delete mode 100644 net/caif/caif_config_util.c

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ