Paolo Abeni 682ec85951 net: minor cleanup in skb_ext_add()
When the extension to be added is already present, the only
skb field we may need to update is 'extensions': we can reorder
the code and avoid a branch.

v1 -> v2:
 - be sure to flag the newly added extension as active

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-21 10:24:54 -08:00
..
2018-10-23 10:57:06 -07:00
2018-07-24 14:10:42 -07:00
2018-12-21 10:24:54 -08:00
2018-11-10 16:55:11 -08:00
2018-10-22 19:59:20 -07:00
2018-12-19 20:53:18 -08:00
2018-11-15 11:35:40 -08:00
2018-07-24 14:10:42 -07:00
2018-11-29 14:25:36 -08:00
2018-12-19 21:45:17 +01:00