Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 0/5] Add error handling for add and del commands
@ 2018-10-09 10:52 ogawa.yasufumi
  2018-10-09 10:52 ` [spp] [PATCH 1/5] shared: add error handling for invalid res UID ogawa.yasufumi
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ogawa.yasufumi @ 2018-10-09 10:52 UTC (permalink / raw)
  To: spp, ferruh.yigit, ogawa.yasufumi

From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>

There is no strict checking for returned value of parsing resource UID
for add and del commands. It might cause a fatal error if no existing
resource is accessed for inappropriate resource UID.

To avoid inappropriate accessing, add checking for the resource UID and
correct determining of the returned value. This update also includes
refactors of log messages in add_ring_pmd() to create a ring port
correctly.

Yasufumi Ogawa (5):
  shared: add error handling for invalid res UID
  spp_nfv: add error handling for add and del cmd
  spp_vm: add error handling for add and del cmd
  spp_nfv: refactor add_ring_pmd
  spp_vm: refactor add_ring_pmd

 src/nfv/nfv.c       | 66 ++++++++++++++++++++++++++++++++++++-----------------
 src/shared/common.c |  7 ++++++
 src/vm/main.c       | 57 +++++++++++++++++++++++++++++++--------------
 3 files changed, 92 insertions(+), 38 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-10-09 10:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-09 10:52 [spp] [PATCH 0/5] Add error handling for add and del commands ogawa.yasufumi
2018-10-09 10:52 ` [spp] [PATCH 1/5] shared: add error handling for invalid res UID ogawa.yasufumi
2018-10-09 10:52 ` [spp] [PATCH 2/5] spp_nfv: add error handling for add and del cmd ogawa.yasufumi
2018-10-09 10:52 ` [spp] [PATCH 3/5] spp_vm: " ogawa.yasufumi
2018-10-09 10:52 ` [spp] [PATCH 4/5] spp_nfv: refactor add_ring_pmd ogawa.yasufumi
2018-10-09 10:52 ` [spp] [PATCH 5/5] spp_vm: " ogawa.yasufumi

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).