Thread (7 messages) flat view 7 messages, 3 authors, 2017-11-14

Re: [patch net] net: forbid netdev used by mirred tc act from being moved to another netns

From: Cong Wang <hidden>
Date: 2017-11-13 19:54:19

On Mon, Nov 13, 2017 at 6:05 AM, Jiri Pirko [off-list ref] wrote:
From: Jiri Pirko <redacted>

Currently, user may choose to move device that is used by mirred action
to another network namespace. That is wrong as the action still remains
in the original namespace and references non-existing ifindex.
It is a pure display issue, the action itself should function well
because we only use ifindex to lookup netdevice once and
we save the netdevice pointer in action.

If you really want to fix it, just tell iprout2 to display netnsid together
with ifindex.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help