netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven-KaDOiPu9UxWEi8DpZVb4nw@public.gmane.org>
To: davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org
Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	b.a.t.m.a.n-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public.gmane.org
Subject: pull request: batman-adv 2011-05-08
Date: Sun,  8 May 2011 17:24:36 +0200	[thread overview]
Message-ID: <1304868284-9364-1-git-send-email-sven@narfation.org> (raw)

Hi,

I would like to propose following patches for net-next-2.6/2.6.40. They
include minor cleanups of comments, a big rename patch s/hna/tt/, but
also a remove some duplicated code. The spinlock which protected the
list of possible interfaces for batman-adv was completely replaced by
rtnl_lock because we want to be in sync with the rest of the network
stack and the extra spinlock made everything more complex without giving
any additional feature (and rtnl_lock was already used everywhere).
Related to this patch is also a fix which should prevent a deadlock
between the sysfs code and the event listener. Also the reference
counting in find_router was fixed when an error was detected after the
refcounter was already increased. The only feature is the support for
multiple vlans in the bridge loop detection code.

I will submit a patch to remove the atomic_dec_not_zero from main.h
after Linus accepted the patch you already saw.

thanks,
	Sven


The following changes since commit 32ae9b221e788413ce68feaae2ca39e406211a0a:

  batman-adv: Make bat_priv->primary_if an rcu protected pointer (2011-05-01 22:49:03 +0200)

are available in the git repository at:
  git://git.open-mesh.org/ecsv/linux-merge.git batman-adv/next

Antonio Quartulli (1):
      batman-adv: rename everything from *hna* into *tt* (translation table)

Daniele Furlan (1):
      batman-adv: remove duplicate code from function is_bidirectional_neigh()

Marek Lindner (3):
      batman-adv: remove misplaced comment
      batman-adv: multi vlan support for bridge loop detection
      batman-adv: Fix refcount imbalance in find_router

Sven Eckelmann (3):
      batman-adv: Remove unnecessary hardif_list_lock
      batman-adv: Avoid deadlock between rtnl_lock and s_active
      batman-adv: Remove multiline comments from line ending

 Documentation/networking/batman-adv.txt |   11 +-
 net/batman-adv/aggregation.c            |   16 +-
 net/batman-adv/aggregation.h            |    4 +-
 net/batman-adv/bat_debugfs.c            |    4 +-
 net/batman-adv/bat_sysfs.c              |   16 +-
 net/batman-adv/hard-interface.c         |   36 +--
 net/batman-adv/main.c                   |   20 +-
 net/batman-adv/main.h                   |   42 ++--
 net/batman-adv/originator.c             |   10 +-
 net/batman-adv/packet.h                 |    5 +-
 net/batman-adv/routing.c                |  162 ++++++-------
 net/batman-adv/routing.h                |    6 +-
 net/batman-adv/send.c                   |   16 +-
 net/batman-adv/send.h                   |    2 +-
 net/batman-adv/soft-interface.c         |  409 +++++++++++++++++++++---------
 net/batman-adv/translation-table.c      |  417 ++++++++++++++++---------------
 net/batman-adv/translation-table.h      |   24 +-
 net/batman-adv/types.h                  |   49 +++--
 net/batman-adv/unicast.c                |    2 +-
 net/batman-adv/vis.c                    |   18 +-
 20 files changed, 712 insertions(+), 557 deletions(-)

             reply	other threads:[~2011-05-08 15:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-08 15:24 Sven Eckelmann [this message]
     [not found] ` <1304868284-9364-1-git-send-email-sven-KaDOiPu9UxWEi8DpZVb4nw@public.gmane.org>
2011-05-08 15:24   ` [PATCH 1/8] batman-adv: remove misplaced comment Sven Eckelmann
2011-05-08 15:24   ` [PATCH 2/8] batman-adv: multi vlan support for bridge loop detection Sven Eckelmann
2011-05-08 15:24   ` [PATCH 3/8] batman-adv: Remove unnecessary hardif_list_lock Sven Eckelmann
2011-05-08 15:24   ` [PATCH 4/8] batman-adv: Avoid deadlock between rtnl_lock and s_active Sven Eckelmann
2011-05-08 15:24   ` [PATCH 5/8] batman-adv: Fix refcount imbalance in find_router Sven Eckelmann
2011-05-08 15:24   ` [PATCH 6/8] batman-adv: rename everything from *hna* into *tt* (translation table) Sven Eckelmann
2011-05-08 15:24   ` [PATCH 7/8] batman-adv: Remove multiline comments from line ending Sven Eckelmann
2011-05-08 15:24   ` [PATCH 8/8] batman-adv: remove duplicate code from function is_bidirectional_neigh() Sven Eckelmann
2011-05-08 22:40   ` pull request: batman-adv 2011-05-08 David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1304868284-9364-1-git-send-email-sven@narfation.org \
    --to=sven-kadoipu9uxwei8dpzvb4nw@public.gmane.org \
    --cc=b.a.t.m.a.n-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public.gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).