[Devel] [patch crash v2 0/2]

Vasily Averin vvs at parallels.com
Thu Dec 4 05:07:36 PST 2014


Dear Dave,

thank you very much for your feedback,
I've prepared new version of patches with following changes:

v2:
- compilation was fixed
-  nsproxy_net_ns moved to end of existing offset_table
- -n key behavior was changed, now it can work without pid/task argument:
  "net" without arguments shows information about init_net
  "net -n" -- gets net namespace reference from current task
  "net -n pid|taskp" -- from specified task
- "net -n" example was added into help
- show_net_devices_v3: rollback to using of init_net on kernels without
    nsproxy support
- tested, seems works correctly on RHEL6-based OpenVZ kernel

Vasily Averin (2):
  net -n option renamed to -N
  namespace support for net command

 defs.h    |  1 +
 help.c    | 14 +++++++++++---
 net.c     | 58 ++++++++++++++++++++++++++++++++++++++++++----------------
 symbols.c |  2 ++
 4 files changed, 56 insertions(+), 19 deletions(-)

-- 
1.9.1




More information about the Devel mailing list