]> git.baikalelectronics.ru Git - kernel.git/commit
WAN: fix Cisco HDLC handshaking.
authorKrzysztof Halasa <khc@pm.waw.pl>
Fri, 9 Oct 2009 06:16:10 +0000 (06:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 10:16:53 +0000 (03:16 -0700)
commit1d6448d27f0255de1dfd0c7c930e95a1d0cb097a
tree7c91ad138f4db345901dbfddc8dd4dd9d039d444
parent8dce42aa33957e26adbe222536802dca6a53d763
WAN: fix Cisco HDLC handshaking.

Cisco HDLC uses keepalive packets and sequence numbers to determine link
state. In rare cases both ends could transmit keepalive packets at the same
time, causing the received sequence numbers to be treated as incorrect.
Now we accept our current sequence number as well as the previous one.

Signed-off-by: Krzysztof HaƂasa <khc@pm.waw.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hdlc_cisco.c