/* * netsniff-ng - the packet sniffing beast * Copyright 2009, 2010 Daniel Borkmann. * Subject to the GPL, version 2. */ #ifndef DISSECTOR_ETH_H #define DISSECTOR_ETH_H #include "hash.h" #include "protos.h" extern struct hash_table eth_lay2; extern struct hash_table eth_lay3; extern void dissector_init_ethernet(int fnttype); extern void dissector_cleanup_ethernet(void); static inline struct protocol *dissector_get_ethernet_entry_point(void) { return ðernet_ops; } static inline struct protocol *dissector_get_ethernet_exit_point(void) { return &none_ops; } #endif /* DISSECTOR_ETH_H */ ad>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2016-06-17 13:42:18 -0700
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-08-18 14:26:41 +0200
commit1b54a880b250acc226b13cea221b90aa1b3e37dd (patch)
treefa30a36076f3ed6dad7e969580ad8880eaa5b4f8
parentceae5317f608aaabf3e03377e061e44c7345cc6a (diff)
drm/i915/gen9: Initialize intel_state->active_crtcs during WM sanitization (v2)
intel_state->active_crtcs is usually only initialized when doing a modeset. During our first atomic commit after boot, we're effectively faking a modeset to sanitize the DDB/wm setup, so ensure that this field gets initialized before use. v2: - Don't clobber active_crtcs if our first commit really is a modeset (Maarten) - Grab connection_mutex when faking a modeset during sanitization (Maarten) Reported-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Tested-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1466196140-16336-2-git-send-email-matthew.d.roper@intel.com Cc: stable@vger.kernel.org #v4.7+