summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorTom Herbert <tom@quantonium.net>2017-09-02 00:04:11 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-05 21:40:08 +0300
commit3a1214e8b06317b4e71cd3a36344df87b7858e19 (patch)
treeeb04848adab6ac341a0b9dcbcd5e646ccf28e769 /scripts/gdb/linux/utils.py
parent2c08ab3f2504bc7ba816ce6fde051b8bd5f028e4 (diff)
downloadlinux-3a1214e8b06317b4e71cd3a36344df87b7858e19.tar.xz
flow_dissector: Cleanup control flow
__skb_flow_dissect is riddled with gotos that make discerning the flow, debugging, and extending the capability difficult. This patch reorganizes things so that we only perform goto's after the two main switch statements (no gotos within the cases now). It also eliminates several goto labels so that there are only two labels that can be target for goto. Reported-by: Alexander Popov <alex.popov@linux.com> Signed-off-by: Tom Herbert <tom@quantonium.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions