]> git.baikalelectronics.ru Git - kernel.git/commit
net/x25: fix called/calling length calculation in x25_parse_address_block
authorMartin Schiller <ms@dev.tdt.de>
Tue, 27 Nov 2018 08:50:27 +0000 (09:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Nov 2018 22:25:36 +0000 (14:25 -0800)
commit520d2e62e2f47fae891041365f1b627180f0d5cc
tree4ca63c8cfc5da2b74cac40c5b22b93b077c37670
parent0baf3748dd23e3ec5ea469362efae44971d1d706
net/x25: fix called/calling length calculation in x25_parse_address_block

The length of the called and calling address was not calculated
correctly (BCD encoding).

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/x25/af_x25.c