From Old Norse stokkr, from Proto-Germanic *stukkaz. More at stock.
stokkur m (genitive singular stokks, nominative plural stokkar)