Thread (3 messages) 3 messages, 3 authors, 2018-03-15

Re: [PATCH net-next 1/1] net sched actions: return explicit error when tunnel_key mode is not specified

flat view

From: David Miller <davem@davemloft.net>
Date: 2018-03-15 18:44:47

From: Roman Mashak <redacted>
Date: Mon, 12 Mar 2018 16:20:58 -0400
If set/unset mode of the tunnel_key action is not provided, ->init() still
returns 0, and the caller proceeds with bogus 'struct tc_action *' object,
this results in crash:

% tc actions add action tunnel_key src_ip 1.1.1.1 dst_ip 2.2.2.1 id 7 index 1
 ...
Fixes: d0f6dd8a914f ("net/sched: Introduce act_tunnel_key")
Signed-off-by: Roman Mashak <redacted>
Applied to net and queued up for -stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help