summaryrefslogtreecommitdiff
path: root/mac80211.h
diff options
context:
space:
mode:
authorKen Wu <abawwu@gmail.com>2016-12-05 00:39:36 +0800
committerTobias Klauser <tklauser@distanz.ch>2016-12-05 08:43:37 +0100
commitc4e07d5142c8991d532804ff60b5cf16029c0497 (patch)
tree06f5acbe1802fca18153167bb964bf277b012638 /mac80211.h
parent630c65e6794d548f757d904948ef2a6dfd466abe (diff)
trafgen: l3: Support interface without IP address
Move default source address setting to packet_finish so that we do not need to get the device's address if the source address is set in the packet. Without this, trafgen does not work with an interface without address configured. In addition, in the case failing to get the address for an interface, intead of panic, it now prints a warning and uses a value of 0.0.0.0. Signed-off-by: Ken Wu <abawwu@gmail.com> Reviewed-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'mac80211.h')
0 files changed, 0 insertions, 0 deletions
the pointer from link->parent->root, there was no parent, and we dereferenced a NULL pointer: BUG: unable to handle kernel NULL pointer dereference at 0000000000000090 IP: [<ffffffff9e424350>] pcie_aspm_init_link_state+0x170/0x820 Recognize that PCI/PCI-X to PCIe Bridges originate PCIe hierarchies just like Root Ports do, so link->root for these devices should also point to itself. Fixes: 51ebfc92b72b ("PCI: Enumerate switches below PCI-to-PCIe bridges") Link: https://bugzilla.kernel.org/show_bug.cgi?id=193411 Link: https://bugzilla.opensuse.org/show_bug.cgi?id=1022181 Tested-by: lists@ssl-mail.com Tested-by: Jayachandran C. <jnair@caviumnetworks.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: stable@vger.kernel.org # v4.2+
Diffstat (limited to 'arch/sh/kernel')