add patches up to r6265 to d-link