[Devel] [PATCH 0/6] Fix VEIP object handling on container destroy

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Fri Apr 21 08:04:17 PDT 2017


Major changes to current behaviour:
1) "SHUTDOWN" hook chain added
2) VEIP object is destroyed in "SHUTDOWN" hook
3) Now VEIP object live cycle is tightly bound to VE object. IOW, it won't be
reused, but EEXIST will be returned instead.

https://jira.sw.ru/browse/PSBM-64869


---

Stanislav Kinsburskiy (6):
      venet: make veip_find() helper static
      venet: treat presence of veip object with the same VEID as error
      venet: split veip_stop() into protected and unprotected versions
      venet: veip_shutdown() helper introduced
      ve: add one more SHUTDOWN hooks chain
      venet: VEIP "SHUTDOWN" hook introduced


 drivers/net/veip_mgmt.c  |    2 ++
 drivers/net/venetdev.c   |   51 ++++++++++++++++++++++++++++++++--------------
 include/linux/ve_proto.h |    1 +
 include/linux/venet.h    |    1 -
 kernel/ve/ve.c           |    2 ++
 5 files changed, 40 insertions(+), 17 deletions(-)

--


More information about the Devel mailing list