]> git.proxmox.com Git - mirror_ovs.git/commit - datapath/datapath.c
datapath: Fix Frame-size larger than 1024 bytes warning.
authorpravin shelar <pshelar@ovn.org>
Thu, 16 Feb 2017 01:34:15 +0000 (17:34 -0800)
committerJoe Stringer <joe@ovn.org>
Thu, 2 Mar 2017 23:51:38 +0000 (15:51 -0800)
commit1d334d4f1a7de42a75185af9c77692629c762afd
tree99eee56012732193643f6a8a97a0bc5cf0ed9092
parentf7dc6d34bfa2af0312520350ec2cfc6e7b4b4dcf
datapath: Fix Frame-size larger than 1024 bytes warning.

Upstream commit:
    commit 190aa3e77880a05332ea1ccb382a51285d57adb5
    Author: pravin shelar <pshelar@ovn.org>
    Date:   Mon Sep 19 13:50:59 2016 -0700

    openvswitch: Fix Frame-size larger than 1024 bytes warning.

    There is no need to declare separate key on stack,
    we can just use sw_flow->key to store the key directly.

    This commit fixes following warning:

    net/openvswitch/datapath.c: In function ‘ovs_flow_cmd_new’:
    net/openvswitch/datapath.c:1080:1: warning: the frame size of 1040 bytes
    is larger than 1024 bytes [-Wframe-larger-than=]

Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Signed-off-by: Joe Stringer <joe@ovn.org>
datapath/datapath.c