diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-03-29 13:46:25 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-03-29 13:46:25 +0300 |
commit | 0e0e16001130d7614a2c7612e1098d15857698b1 (patch) | |
tree | f6a6f9736d30ca5108d3093924eb591467139cdd /drivers | |
parent | dd2ccfbed467fcb8c2c33a1c5f114409e6ae85c4 (diff) | |
download | accel-ppp-0e0e16001130d7614a2c7612e1098d15857698b1.tar.gz accel-ppp-0e0e16001130d7614a2c7612e1098d15857698b1.zip |
ipoe_mod: do not redirect arp requests to virtual ipoe interfaces
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ipoe/ipoe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c index 059b139..c2a7d61 100644 --- a/drivers/ipoe/ipoe.c +++ b/drivers/ipoe/ipoe.c @@ -775,6 +775,9 @@ static rx_handler_result_t ipoe_recv(struct sk_buff **pskb) return RX_HANDLER_PASS; return RX_HANDLER_CONSUMED; + } else if (unlikely(skb->protocol == htons(ETH_P_ARP))) { + atomic_dec(&ses->refs); + return RX_HANDLER_PASS; } stats = &ses->dev->stats; |