net: vrf: Add support for PREROUTING rules on vrf device
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 5 Jul 2016 01:47:41 +0000 (18:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2016 18:50:05 +0000 (11:50 -0700)
commit73e20b761acf8678de2d55d92b90a623b8558a77
treedc072e0c887e95e6d9e75474d5b26617176ba659
parent8297f2d9ef6c2c31c87807f2f110ddfd0c379443
net: vrf: Add support for PREROUTING rules on vrf device

Add support for PREROUTING rules with skb->dev set to the vrf device.
INPUT rules are already allowed. Provides symmetry with the output path
which allows POSTROUTING rules.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vrf.c