]> git.baikalelectronics.ru Git - kernel.git/commit
net/garp: fix GID rbtree ordering
authorDavid Ward <david.ward@ll.mit.edu>
Mon, 9 Apr 2012 04:13:53 +0000 (04:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 17:10:33 +0000 (13:10 -0400)
commitfd1f3ffd641188d11347c8f47a5c5c603eaa11ad
tree50209599d03eb7e4a086e7eb396dae4d0ae452de
parent27326908d48a6e6a80cfcb65e68b1ae7161ff8c8
net/garp: fix GID rbtree ordering

The comparison operators were backwards in both garp_attr_lookup and
garp_attr_create, so the entire GID rbtree was in reverse order.
(There was no practical side effect to this though, except that PDUs
were sent with attributes listed in reverse order, which is still
valid by the protocol. This change is only for clarity.)

Signed-off-by: David Ward <david.ward@ll.mit.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/802/garp.c