diff options
author | Wei Zhang <asuka.com@163.com> | 2014-06-28 12:34:53 -0700 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2014-06-29 14:10:48 -0700 |
commit | e0bb8c44ed5cfcc56b571758ed966ee48779024c (patch) | |
tree | be67488d53526607888b26803f2445029c3e8470 /net/openvswitch/flow.h | |
parent | fe984c08e20f0fc2b4666bf8eeeb02605568387b (diff) | |
download | linux-stable-e0bb8c44ed5cfcc56b571758ed966ee48779024c.tar.gz linux-stable-e0bb8c44ed5cfcc56b571758ed966ee48779024c.tar.bz2 linux-stable-e0bb8c44ed5cfcc56b571758ed966ee48779024c.zip |
openvswitch: supply a dummy err_handler of gre_cisco_protocol to prevent kernel crash
When use gre vport, openvswitch register a gre_cisco_protocol but
does not supply a err_handler with it. The gre_cisco_err() in
net/ipv4/gre_demux.c expect err_handler be provided with the
gre_cisco_protocol implementation, and call ->err_handler() without
existence check, cause the kernel crash.
This patch provide a err_handler to fix this bug.
This bug introduced by commit aa310701e787087d (openvswitch: Add gre
tunnel support.)
Signed-off-by: Wei Zhang <asuka.com@163.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'net/openvswitch/flow.h')
0 files changed, 0 insertions, 0 deletions