summaryrefslogtreecommitdiffstats
path: root/net/sched/act_api.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2013-07-02 14:49:34 +0800
committerDavid S. Miller <davem@davemloft.net>2013-07-02 01:13:09 -0700
commit3b7b514f44bff05d26a6499c4d4fac2a83938e6e (patch)
tree348ddec500211ad6dea16f7725d26ae790446f7b /net/sched/act_api.c
parente1558a93b61962710733dc8c11a2bc765607f1cd (diff)
downloadop-kernel-dev-3b7b514f44bff05d26a6499c4d4fac2a83938e6e.zip
op-kernel-dev-3b7b514f44bff05d26a6499c4d4fac2a83938e6e.tar.gz
ipip: fix a regression in ioctl
This is a regression introduced by commit fd58156e456d9f68fe0448 (IPIP: Use ip-tunneling code.) Similar to GRE tunnel, previously we only check the parameters for SIOCADDTUNNEL and SIOCCHGTUNNEL, after that commit, the check is moved for all commands. So, just check for SIOCADDTUNNEL and SIOCCHGTUNNEL. Also, the check for i_key, o_key etc. is suspicious too, which did not exist before, reset them before passing to ip_tunnel_ioctl(). Cc: Pravin B Shelar <pshelar@nicira.com> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_api.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud