diff options
author | Eric Dumazet <edumazet@google.com> | 2016-11-22 20:17:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-22 20:44:01 +0100 |
commit | c9b8af1330198ae241cd545e1f040019010d44d9 (patch) | |
tree | 593c0ab3b462dc9e1c9754d302ade8b9adb0dd1c /include/net/bluetooth | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo... (diff) | |
download | linux-c9b8af1330198ae241cd545e1f040019010d44d9.tar.xz linux-c9b8af1330198ae241cd545e1f040019010d44d9.zip |
flow_dissect: call init_default_flow_dissectors() earlier
Andre Noll reported panics after my recent fix (commit 34fad54c2537
"net: __skb_flow_dissect() must cap its return value")
After some more headaches, Alexander root caused the problem to
init_default_flow_dissectors() being called too late, in case
a network driver like IGB is not a module and receives DHCP message
very early.
Fix is to call init_default_flow_dissectors() much earlier,
as it is a core infrastructure and does not depend on another
kernel service.
Fixes: 06635a35d13d4 ("flow_dissect: use programable dissector in skb_flow_dissect and friends")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Andre Noll <maan@tuebingen.mpg.de>
Diagnosed-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/bluetooth')
0 files changed, 0 insertions, 0 deletions