net: backport Adaptive RED Net Scheduler from 3.4 kernel

Change-Id: I9f520e0227f9cca8a592edac658d8577fd79d9af