]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit9652041da18a1a1d9a0b7ebd9eef16bd712be38a
tree7c91ad138f4db345901dbfddc8dd4dd9d039d444
parent6d01a026b7d3009a418326bdcf313503a314f1ea
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