public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCHv2 0/4] batman-adv: Add network name space support
@ 2016-03-01 21:19 Andrew Lunn
  2016-03-01 21:19 ` [B.A.T.M.A.N.] [PATCHv2 1/4] batman-adv: NETIF_F_NETNS_LOCAL feature to prevent netns moves Andrew Lunn
                   ` (3 more replies)
  0 siblings, 4 replies; 30+ messages in thread
From: Andrew Lunn @ 2016-03-01 21:19 UTC (permalink / raw)
  To: Antonio Quartulli; +Cc: B.A.T.M.A.N

This patchset makes batman-adv network namespace aware. A soft
interface can be creates in a namespace and hard interfaces added to
it. soft interfaces cannot be moved between name spaces.

The biggest change is to debugfs, which is not natively netns aware,
unlike sysfs which is. A new netns directory has been added and within
that, a directory per network name space which batman is used within.
The changes are backwards compatible, in that interfaces in the global
namespace are not placed into a subdirectory.

v2:

Added missing includes
Added missing forward declarations
Rearranged debugfs code
Fixed kernel doc
Rebased on https://git.open-mesh.org/batman-adv.git master

Andrew Lunn (4):
  batman-adv: NETIF_F_NETNS_LOCAL feature to prevent netns moves
  batman-adv: Create batman soft interfaces within correct netns.
  batman-adv: Handle parent interfaces in a different netns
  batman-adv: debugfs: Add netns support

 net/batman-adv/debugfs.c           | 119 ++++++++++++++++++++++++++++++++++++-
 net/batman-adv/hard-interface.c    |  36 ++++++++---
 net/batman-adv/hard-interface.h    |   3 +-
 net/batman-adv/soft-interface.c    |   9 ++-
 net/batman-adv/soft-interface.h    |   3 +-
 net/batman-adv/sysfs.c             |   3 +-
 net/batman-adv/translation-table.c |   4 +-
 7 files changed, 157 insertions(+), 20 deletions(-)

-- 
2.7.0.rc3


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2016-04-21 10:48 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01 21:19 [B.A.T.M.A.N.] [PATCHv2 0/4] batman-adv: Add network name space support Andrew Lunn
2016-03-01 21:19 ` [B.A.T.M.A.N.] [PATCHv2 1/4] batman-adv: NETIF_F_NETNS_LOCAL feature to prevent netns moves Andrew Lunn
2016-03-13  9:29   ` Sven Eckelmann
2016-03-13 15:24     ` Andrew Lunn
2016-04-21 10:48       ` Marek Lindner
2016-03-01 21:19 ` [B.A.T.M.A.N.] [PATCHv2 2/4] batman-adv: Create batman soft interfaces within correct netns Andrew Lunn
2016-03-13 10:48   ` Sven Eckelmann
2016-03-13 15:35     ` Andrew Lunn
2016-03-01 21:19 ` [B.A.T.M.A.N.] [PATCHv2 3/4] batman-adv: Handle parent interfaces in a different netns Andrew Lunn
2016-03-04 12:35   ` Sven Eckelmann
2016-03-07 14:31     ` Andrew Lunn
2016-03-07 14:45       ` Sven Eckelmann
2016-03-11 23:37       ` Sven Eckelmann
2016-03-12  4:42         ` Antonio Quartulli
2016-03-12  7:34           ` Sven Eckelmann
2016-03-12  7:40             ` Sven Eckelmann
2016-03-07  4:21   ` Linus Lüssing
2016-03-07 13:47     ` Andrew Lunn
2016-03-13 11:02   ` Sven Eckelmann
2016-03-13 15:38     ` Andrew Lunn
2016-03-13 15:59       ` Sven Eckelmann
2016-03-01 21:19 ` [B.A.T.M.A.N.] [PATCHv2 4/4] batman-adv: debugfs: Add netns support Andrew Lunn
2016-03-07 14:21   ` Matthias Schiffer
2016-03-13  9:12     ` Sven Eckelmann
2016-03-13 15:42       ` Andrew Lunn
2016-04-18 14:41         ` Simon Wunderlich
2016-04-20  2:36           ` Andrew Lunn
2016-04-20  3:23             ` Antonio Quartulli
2016-04-20  7:02             ` Sven Eckelmann
2016-03-14 10:41       ` Matthias Schiffer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox