]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d00fabf104da87f6cca2abd3cbbfa440baa498b
treedc072e0c887e95e6d9e75474d5b26617176ba659
parente03e07b8b741dcd9c94858f3c38cbe7b009086b9
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