public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <a@unstable.cc>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] pull request: batman-adv 20160511
Date: Wed, 11 May 2016 03:29:48 +0800	[thread overview]
Message-ID: <1462908605-27412-1-git-send-email-a@unstable.cc> (raw)

Hi David,

here you have a pull request intended for net-next.
There are 17 patches in this batch, but most of them are cleanups
and minor code re-arrangement.

The more detailed description follows in the git tag.

Please pull or let me know of any problem.

Thanks a lot,
	Antonio


The following changes since commit c047c3b1af6214b447e353527e394fa3f3e86397:

  netfilter: conntrack: remove uninitialized shadow variable (2016-05-10 01:04:04 -0400)

are available in the git repository at:

  git://git.open-mesh.org/linux-merge.git tags/batman-adv-for-davem

for you to fetch changes up to 676970e55b1033af7f0a03d4037b4d9b76327ded:

  batman-adv: use batadv_compare_eth when possible (2016-05-10 18:28:54 +0800)

----------------------------------------------------------------
Included changes:
- remove useless skb size check in batadv_interface_rx
- basic netns support introduced by Andrew Lunn:
    - prevent virtual interface from changing netns by setting
      NETIF_F_NETNS_LOCAL
    - create virtual interface within the netns of the first
      hard-interface
- introduce detection of complex bridge loops and report event
  to the user (via udev) when the Bridge Loop Avoidance mechanism
  can't prevent them
- minor reference counting bugfixes for the hard_iface object that
  couldn't make it via the net tree
- use kref_get() instead of kref_get_unless_zero() to make reference
  counting bug more visible
- use batadv_compare_eth() all over the code when possible instead of
  plain memcmp()
- minor code cleanup and style adjustments

----------------------------------------------------------------
Andrew Lunn (2):
      batman-adv: NETIF_F_NETNS_LOCAL feature to prevent netns moves
      batman-adv: Create batman soft interfaces within correct netns.

Antonio Quartulli (1):
      batman-adv: use batadv_compare_eth when possible

Marek Lindner (1):
      batman-adv: replace ethertype variable with ETH_P_BATMAN for readability

Simon Wunderlich (1):
      batman-adv: add detection for complex bridge loops

Sven Eckelmann (12):
      batman-adv: Remove unused parameter recv_if of batadv_interface_rx
      batman-adv: Remove hdr_size skb size check in batadv_interface_rx
      batman-adv: Check hard_iface refcnt before calling function
      batman-adv: Check hard_iface refcnt when receiving skb
      batman-adv: Increase hard_iface refcnt for ptype
      batman-adv: Use kref_get for batadv_tvlv_container_get
      batman-adv: Use kref_get for batadv_nc_get_nc_node
      batman-adv: Use kref_get for batadv_gw_select
      batman-adv: Use kref_get for batadv_gw_node_add
      batman-adv: Use kref_get for hard_iface subfunctions
      batman-adv: Use kref_get for _batadv_update_route
      batman-adv: Use bool as return type for boolean functions

 net/batman-adv/bat_iv_ogm.c            |  48 ++---
 net/batman-adv/bat_v_ogm.c             |  14 +-
 net/batman-adv/bitarray.c              |  16 +-
 net/batman-adv/bitarray.h              |  15 +-
 net/batman-adv/bridge_loop_avoidance.c | 314 ++++++++++++++++++++++++---------
 net/batman-adv/bridge_loop_avoidance.h |  43 ++---
 net/batman-adv/debugfs.c               |   2 +-
 net/batman-adv/distributed-arp-table.c |   6 +-
 net/batman-adv/gateway_client.c        |  12 +-
 net/batman-adv/hard-interface.c        |  34 ++--
 net/batman-adv/hard-interface.h        |   3 +-
 net/batman-adv/hash.h                  |   6 +-
 net/batman-adv/main.c                  |  18 +-
 net/batman-adv/main.h                  |   6 +-
 net/batman-adv/network-coding.c        |  25 +--
 net/batman-adv/originator.c            |  39 ++--
 net/batman-adv/originator.h            |   2 +-
 net/batman-adv/packet.h                |   1 +
 net/batman-adv/routing.c               |  50 +++---
 net/batman-adv/routing.h               |   6 +-
 net/batman-adv/send.c                  |   6 +
 net/batman-adv/soft-interface.c        |  32 ++--
 net/batman-adv/soft-interface.h        |  10 +-
 net/batman-adv/sysfs.c                 |   9 +-
 net/batman-adv/translation-table.c     |  35 ++--
 net/batman-adv/types.h                 |   8 +
 26 files changed, 465 insertions(+), 295 deletions(-)

             reply	other threads:[~2016-05-10 19:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-10 19:29 Antonio Quartulli [this message]
2016-05-10 19:29 ` [B.A.T.M.A.N.] [PATCH 01/17] batman-adv: Remove unused parameter recv_if of batadv_interface_rx Antonio Quartulli
2016-05-10 19:29 ` [B.A.T.M.A.N.] [PATCH 02/17] batman-adv: Remove hdr_size skb size check in batadv_interface_rx Antonio Quartulli
2016-05-10 19:29 ` [B.A.T.M.A.N.] [PATCH 03/17] batman-adv: NETIF_F_NETNS_LOCAL feature to prevent netns moves Antonio Quartulli
2016-05-10 19:29 ` [B.A.T.M.A.N.] [PATCH 04/17] batman-adv: Create batman soft interfaces within correct netns Antonio Quartulli
2016-05-10 19:29 ` [B.A.T.M.A.N.] [PATCH 05/17] batman-adv: add detection for complex bridge loops Antonio Quartulli
2016-05-10 19:29 ` [B.A.T.M.A.N.] [PATCH 06/17] batman-adv: Check hard_iface refcnt before calling function Antonio Quartulli
2016-05-10 19:29 ` [B.A.T.M.A.N.] [PATCH 07/17] batman-adv: Check hard_iface refcnt when receiving skb Antonio Quartulli
2016-05-10 19:29 ` [B.A.T.M.A.N.] [PATCH 08/17] batman-adv: Increase hard_iface refcnt for ptype Antonio Quartulli
2016-05-10 19:29 ` [B.A.T.M.A.N.] [PATCH 09/17] batman-adv: Use kref_get for batadv_tvlv_container_get Antonio Quartulli
2016-05-10 19:29 ` [B.A.T.M.A.N.] [PATCH 10/17] batman-adv: Use kref_get for batadv_nc_get_nc_node Antonio Quartulli
2016-05-10 19:29 ` [B.A.T.M.A.N.] [PATCH 11/17] batman-adv: Use kref_get for batadv_gw_select Antonio Quartulli
2016-05-10 19:30 ` [B.A.T.M.A.N.] [PATCH 12/17] batman-adv: Use kref_get for batadv_gw_node_add Antonio Quartulli
2016-05-10 19:30 ` [B.A.T.M.A.N.] [PATCH 13/17] batman-adv: Use kref_get for hard_iface subfunctions Antonio Quartulli
2016-05-10 19:30 ` [B.A.T.M.A.N.] [PATCH 14/17] batman-adv: Use kref_get for _batadv_update_route Antonio Quartulli
2016-05-10 19:30 ` [B.A.T.M.A.N.] [PATCH 15/17] batman-adv: Use bool as return type for boolean functions Antonio Quartulli
2016-05-10 19:30 ` [B.A.T.M.A.N.] [PATCH 16/17] batman-adv: replace ethertype variable with ETH_P_BATMAN for readability Antonio Quartulli
2016-05-10 19:30 ` [B.A.T.M.A.N.] [PATCH 17/17] batman-adv: use batadv_compare_eth when possible Antonio Quartulli
2016-05-11  3:36 ` [B.A.T.M.A.N.] pull request: batman-adv 20160511 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=1462908605-27412-1-git-send-email-a@unstable.cc \
    --to=a@unstable.cc \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.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