]> git.baikalelectronics.ru Git - kernel.git/commit
flow_dissector: do not break if ports are not needed in flowlabel
authorJiri Pirko <jiri@resnulli.us>
Fri, 22 May 2015 09:05:58 +0000 (11:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2015 17:59:02 +0000 (13:59 -0400)
commitbef1d90bb61cc782b3088a71d359d1b1cf61f1dc
tree70747dc47795325f195eade171cd4098412c931e
parent7efa2edc0a54413ffa5e8582063065a7c7763dfb
flow_dissector: do not break if ports are not needed in flowlabel

This restored previous behaviour. If caller does not want ports to be
filled, we should not break.

Fixes: d943d93e8a8d ("flow_dissect: use programable dissector in skb_flow_dissect and friends")
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow_dissector.c