diff options
author | 2018-12-21 19:03:15 +0100 | |
---|---|---|
committer | 2018-12-21 10:24:54 -0800 | |
commit | 682ec859518d73435cc924d816da2953343241c1 (patch) | |
tree | 11fb43824d249c87afe417bef0b9c372077972b4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: drop the unused helper skb_ext_get() (diff) | |
download | wireguard-linux-682ec859518d73435cc924d816da2953343241c1.tar.xz wireguard-linux-682ec859518d73435cc924d816da2953343241c1.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions